diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-01-26 10:04:57 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-01-26 10:04:57 +0000 |
commit | 2e1c6023d796c4e2a27707970e3299c511605a91 (patch) | |
tree | 8cad76cef0d0f843f7e74db53ad18af8166213b7 /src/common/weeconfig.c | |
parent | 464fc8abdf937e6dcbf0361613d6576de597c67c (diff) | |
download | weechat-2e1c6023d796c4e2a27707970e3299c511605a91.zip |
Fixed bug with option "irc_away_check_max_nicks" (now channels are refreshed when nicks count changed)
Diffstat (limited to 'src/common/weeconfig.c')
-rw-r--r-- | src/common/weeconfig.c | 14 |
1 files changed, 1 insertions, 13 deletions
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, @@ -1173,18 +1173,6 @@ config_change_away_check () } /* - * 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 */ |