diff options
author | Ben Gamari <ben@smart-cactus.org> | 2016-05-08 21:44:29 +0200 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-06-29 15:42:11 -0400 |
commit | 25e197a6c84463e967065c64b5760b79884787cc (patch) | |
tree | 033d41307e3aed117fd1f15a802763930fffcea4 /src/common/hexchat.c | |
parent | 7dca22048633479e28fec8e311ae80c9f55d46b6 (diff) |
dcc: Disable timeout timer when not in use
This should mean that hexchat never *needs* to wake-up unless prompted by socket activity (assuming that the lag-o-meter is not enabled).
Diffstat (limited to 'src/common/hexchat.c')
-rw-r--r-- | src/common/hexchat.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/hexchat.c b/src/common/hexchat.c index 8da63aef..1f61f84f 100644 --- a/src/common/hexchat.c +++ b/src/common/hexchat.c @@ -354,13 +354,6 @@ doover: return 1; } -static int -hexchat_check_dcc (void) /* this gets called every 1 second */ -{ - dcc_check_timeouts (); - return 1; -} - /* these are only run if the lagometer is enabled */ static int hexchat_lag_check (void) /* this gets called every 30 seconds */ @@ -406,7 +399,6 @@ irc_init (session *sess) notify_checklist, NULL); fe_timeout_add (prefs.hex_away_timeout * 1000, away_check, NULL); - fe_timeout_add (1000, hexchat_check_dcc, NULL); if (prefs.hex_gui_lagometer) { fe_timeout_add (500, hexchat_lag_check_update, NULL); |