1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

Fix option irc.network.away_check

This commit is contained in:
Sebastien Helleu
2008-10-26 20:00:50 +01:00
parent b5730ec025
commit f126daa896
11 changed files with 97 additions and 65 deletions
+8 -5
View File
@@ -1832,17 +1832,20 @@ irc_server_timer_cb (void *data)
}
/*
* irc_server_timer_check_away: timer called to check away on servers
* (according to option "irc_check_away")
* irc_server_timer_check_away_cb: timer called to check away on servers
* (according to option "irc_check_away")
*/
void
irc_server_timer_check_away (void *empty)
int
irc_server_timer_check_away_cb (void *data)
{
(void) empty;
/* make C compiler happy */
(void) data;
if (weechat_config_integer (irc_config_network_away_check) > 0)
irc_server_check_away ();
return WEECHAT_RC_OK;
}
/*