1
0
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:
LemonBoy 2016-11-23 16:11:38 +01:00
parent 1aff5c2c97
commit 7574bed26c
2 changed files with 4 additions and 4 deletions

View File

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

View File

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