summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-netsplit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/irc/fe-netsplit.c')
-rw-r--r--src/fe-common/irc/fe-netsplit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-common/irc/fe-netsplit.c b/src/fe-common/irc/fe-netsplit.c
index aa05639b..b44fa249 100644
--- a/src/fe-common/irc/fe-netsplit.c
+++ b/src/fe-common/irc/fe-netsplit.c
@@ -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);