mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Minor corrections to the netsplit code.
This commit is contained in:
parent
1aff5c2c97
commit
7574bed26c
@ -251,7 +251,7 @@ static void sig_print_starting(TEXT_DEST_REC *dest)
|
||||
if (!IS_IRC_SERVER(dest->server))
|
||||
return;
|
||||
|
||||
if (dest->level != MSGLEVEL_PUBLIC)
|
||||
if (!(dest->level & MSGLEVEL_PUBLIC))
|
||||
return;
|
||||
|
||||
if (!server_ischannel(dest->server, dest->target))
|
||||
|
@ -249,13 +249,13 @@ static void sig_print_starting(TEXT_DEST_REC *dest)
|
||||
if (printing_splits)
|
||||
return;
|
||||
|
||||
if (IS_IRC_SERVER(dest->server) == FALSE)
|
||||
if (!IS_IRC_SERVER(dest->server))
|
||||
return;
|
||||
|
||||
if (dest->level != MSGLEVEL_PUBLIC)
|
||||
if (!(dest->level & MSGLEVEL_PUBLIC))
|
||||
return;
|
||||
|
||||
if (server_ischannel(dest->server, dest->target) == FALSE)
|
||||
if (!server_ischannel(dest->server, dest->target))
|
||||
return;
|
||||
|
||||
rec = IRC_SERVER(dest->server);
|
||||
|
Loading…
Reference in New Issue
Block a user