diff options
-rw-r--r-- | src/modules/m_override.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index af7201882..f4473e81d 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -243,7 +243,7 @@ class ModuleOverride : public Module return -1; } - if ((*chan->key) && (CanOverride(user,"KEY")) && !strcasecmp(keygiven.c_str(), chan->key)) + if ((*chan->key) && (CanOverride(user,"KEY")) && strcasecmp(keygiven.c_str(), chan->key)) { if (NoisyOverride) chan->WriteChannelWithServ(ServerInstance->Config->ServerName, "NOTICE %s :%s used oper-override to bypass the channel key", cname, user->nick); |