diff options
author | Peter Powell <petpow@saberuk.com> | 2019-05-14 14:06:54 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-05-14 14:06:54 +0100 |
commit | fb507ecec27b3e374b02cd208b87977814c726cf (patch) | |
tree | 920637706026906906d914d90d4aef42d6f4a09f /src | |
parent | 61b13aa89ecb38a24faadb0bdb085a8bb3c56d22 (diff) |
Fix an inverted condition in the commonchans module.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_commonchans.cpp | 2 |
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()) |