1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

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
This commit is contained in:
Timo Sirainen 2000-07-23 13:11:56 +00:00 committed by cras
parent d12c861976
commit f38457e710

View File

@ -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);
}