summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_commonchans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_commonchans.cpp b/src/modules/m_commonchans.cpp
index f3c206a44..5a30ddddb 100644
--- a/src/modules/m_commonchans.cpp
+++ b/src/modules/m_commonchans.cpp
@@ -34,7 +34,7 @@ class ModuleCommonChans
return MOD_RES_PASSTHRU;
User* targuser = target.Get<User>();
- if (!targuser->IsModeSet(mode) || !user->SharesChannelWith(targuser))
+ if (!targuser->IsModeSet(mode) || user->SharesChannelWith(targuser))
return MOD_RES_PASSTHRU;
if (user->HasPrivPermission("users/ignore-commonchans") || user->server->IsULine())