summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_override.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index ce996d5b2..3cce62758 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -103,7 +103,7 @@ class ModuleOverride : public Module
else return ACR_DEFAULT;
break;
case AC_DEOP:
- if (CanOverride(source,"MODEOP"))
+ if (CanOverride(source,"MODEDEOP"))
{
Srv->SendOpers("*** NOTICE: "+std::string(source->nick)+" Override-Deopped "+std::string(dest->nick)+" on "+std::string(channel->name));
return ACR_ALLOW;
@@ -111,7 +111,7 @@ class ModuleOverride : public Module
else return ACR_DEFAULT;
break;
case AC_OP:
- if (CanOverride(source,"MODEDEOP"))
+ if (CanOverride(source,"MODEOP"))
{
Srv->SendOpers("*** NOTICE: "+std::string(source->nick)+" Override-Opped "+std::string(dest->nick)+" on "+std::string(channel->name));
return ACR_ALLOW;