summaryrefslogtreecommitdiff
path: root/src/modules/m_override.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-08 00:14:05 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-08 00:14:05 +0000
commit29fc8d035e313dd2bc9e3d2d89ff9b324d72f3b6 (patch)
treeb594a9fc20619ae77a86f8ffae586b626fce4320 /src/modules/m_override.cpp
parent95e4d51f9119088b2760fff9457e77d500830a74 (diff)
Fix #551
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9862 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_override.cpp')
-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 1cdf39827..31e99609b 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -253,7 +253,7 @@ class ModuleOverride : public Module
return -1;
}
- if ((chan->key.empty()) && (CanOverride(user,"KEY")) && keygiven != chan->key)
+ if ((!chan->key.empty()) && (CanOverride(user,"KEY")) && keygiven != chan->key)
{
if (RequireKey && keygiven != "override")
{