From 2e1c6023d796c4e2a27707970e3299c511605a91 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 26 Jan 2006 10:04:57 +0000 Subject: Fixed bug with option "irc_away_check_max_nicks" (now channels are refreshed when nicks count changed) --- src/common/weeconfig.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/common/weeconfig.c') diff --git a/src/common/weeconfig.c b/src/common/weeconfig.c index 8ca02e811..7f2665e29 100644 --- a/src/common/weeconfig.c +++ b/src/common/weeconfig.c @@ -701,7 +701,7 @@ t_config_option weechat_options_irc[] = { "irc_away_check_max_nicks", N_("max number of nicks for away check"), N_("do not check away nicks on channels with high number of nicks (0 = unlimited)"), OPTION_TYPE_INT, 0, INT_MAX, 0, - NULL, NULL, &cfg_irc_away_check_max_nicks, NULL, &config_change_away_check_max_nicks }, + NULL, NULL, &cfg_irc_away_check_max_nicks, NULL, &config_change_away_check }, { "irc_lag_check", N_("interval between two checks for lag"), N_("interval between two checks for lag (in seconds)"), OPTION_TYPE_INT, 30, INT_MAX, 60, @@ -1172,18 +1172,6 @@ config_change_away_check () check_away = cfg_irc_away_check * 60; } -/* - * config_change_away_check_max_nicks: called when max nicks for away check - * is changed - */ - -void -config_change_away_check_max_nicks () -{ - server_remove_away (); - check_away = cfg_irc_away_check * 60; -} - /* * config_change_fifo_pipe: called when FIFO pipe is changed */ -- cgit v1.2.3