summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-netsplit.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-06-29 23:11:43 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-06-29 23:11:43 +0000
commitf70160c503324beffea069e4fc2674267d7dd0ed (patch)
tree024eb521d07c1b55c44fbceed98489ea3ee82acc /src/fe-common/irc/fe-netsplit.c
parentf20a6b019860e347781c9a9bb9d0f382039211a3 (diff)
downloadirssi-f70160c503324beffea069e4fc2674267d7dd0ed.zip
/SET netsplit_nicks_hide_threshold must not be smaller than /SET
netsplit_max_nicks or no nicks were printed with netsplits. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1597 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/fe-netsplit.c')
-rw-r--r--src/fe-common/irc/fe-netsplit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/irc/fe-netsplit.c b/src/fe-common/irc/fe-netsplit.c
index 513a1ec4..11c586ee 100644
--- a/src/fe-common/irc/fe-netsplit.c
+++ b/src/fe-common/irc/fe-netsplit.c
@@ -346,6 +346,8 @@ static void read_settings(void)
netsplit_max_nicks = settings_get_int("netsplit_max_nicks");
netsplit_nicks_hide_threshold =
settings_get_int("netsplit_nicks_hide_threshold");
+ if (netsplit_nicks_hide_threshold < netsplit_max_nicks)
+ netsplit_max_nicks = netsplit_nicks_hide_threshold;
}
void fe_netsplit_init(void)