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