summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-netsplit.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-23 13:11:56 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-23 13:11:56 +0000
commitf38457e710d2ec0455d8094adcb0013f47dc45ea (patch)
tree9b8179a640cdc94ed90d36be0b0c9d5d7f16ab66 /src/fe-common/irc/fe-netsplit.c
parentd12c86197637e0376f4ffe40f5feb50c5a47012f (diff)
downloadirssi-f38457e710d2ec0455d8094adcb0013f47dc45ea.zip
Printing netsplit nicks printed one too less nicks (netsplit_max_nicks-1)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@519 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, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-netsplit.c b/src/fe-common/irc/fe-netsplit.c
index 9411b2e9..8ce978ac 100644
--- a/src/fe-common/irc/fe-netsplit.c
+++ b/src/fe-common/irc/fe-netsplit.c
@@ -104,7 +104,7 @@ static void get_server_splits(void *key, NETSPLIT_REC *split, TEMP_SPLIT_REC *re
split->server->prints++;
chanrec->nick_count++;
if (netsplit_max_nicks <= 0 ||
- chanrec->nick_count < netsplit_max_nicks) {
+ chanrec->nick_count <= netsplit_max_nicks) {
if (splitchan->nick.op) g_string_append_c(chanrec->nicks, '@');
g_string_sprintfa(chanrec->nicks, "%s ", split->nick);
}