Fix an inverted condition in the commonchans module.

This commit is contained in:
Peter Powell 2019-05-14 14:06:54 +01:00
parent 61b13aa89e
commit fb507ecec2

View File

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