mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Netsplit messages are now printed with QUITS message level.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@245 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
b6cadd5388
commit
64e67302ea
@ -110,11 +110,11 @@ static void print_splits(IRC_SERVER_REC *server, TEMP_SPLIT_REC *rec)
|
||||
g_string_truncate(chan->nicks, chan->nicks->len-1);
|
||||
|
||||
if (netsplit_max_nicks > 0 && chan->nick_count > netsplit_max_nicks) {
|
||||
printformat(server, chan->name, MSGLEVEL_CLIENTNOTICE, IRCTXT_NETSPLIT_MORE,
|
||||
printformat(server, chan->name, MSGLEVEL_QUITS, IRCTXT_NETSPLIT_MORE,
|
||||
rec->server->server, rec->server->destserver, chan->nicks->str,
|
||||
chan->nick_count - netsplit_max_nicks);
|
||||
} else {
|
||||
printformat(server, chan->name, MSGLEVEL_CLIENTNOTICE, IRCTXT_NETSPLIT,
|
||||
printformat(server, chan->name, MSGLEVEL_QUITS, IRCTXT_NETSPLIT,
|
||||
rec->server->server, rec->server->destserver, chan->nicks->str);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user