diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/irc/fe-netjoin.c | 2 | ||||
-rw-r--r-- | src/fe-common/irc/fe-netsplit.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/fe-common/irc/fe-netjoin.c b/src/fe-common/irc/fe-netjoin.c index 22ca642c..79a8d5ec 100644 --- a/src/fe-common/irc/fe-netjoin.c +++ b/src/fe-common/irc/fe-netjoin.c @@ -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)) 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); |