inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit fb507ecec27b3e374b02cd208b87977814c726cf
parent 61b13aa89ecb38a24faadb0bdb085a8bb3c56d22
Author: Peter Powell <petpow@saberuk.com>
Date:   Tue, 14 May 2019 14:06:54 +0100

Fix an inverted condition in the commonchans module.

Diffstat:
Msrc/modules/m_commonchans.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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())