mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
Fix an inverted condition in the commonchans module.
This commit is contained in:
parent
61b13aa89e
commit
fb507ecec2
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user