From 29fc8d035e313dd2bc9e3d2d89ff9b324d72f3b6 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 8 Jun 2008 00:14:05 +0000 Subject: Fix #551 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9862 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_override.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_override.cpp') 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") { -- cgit v1.2.3