mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue