diff options
Diffstat (limited to 'src/modules')
-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 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") { |