X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_commonchans.cpp;h=5a30ddddb958bcda26e6016055261a9b89eb17c5;hb=85182d727c0d549b9cf6659ad36dec70fcf02278;hp=f3c206a4492bf17c4b6015f990820e59d91b04ef;hpb=e59cb85871f75b7603c63c6cd274d57536cf6794;p=user%2Fhenk%2Fcode%2Finspircd.git 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())