summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-16 00:49:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-16 00:49:35 +0000
commit7549cf7c208bd989b5c5ef5fcead594ec02a3e4f (patch)
tree91202124c875e11692f4e01ea2f196004db8ba87
parent3039e0663f7e45a45e9574a6aa7463bbe77e849f (diff)
Maybe make this the right way around...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9517 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_override.cpp2
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);