summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-28 20:31:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-28 20:31:13 +0000
commit993a89cf78e6ec4531a4721e486796194f5d52d5 (patch)
treec7d35f25ac7669f8b76cb2d2902e1abcdff7c141 /src
parenta3f476f7945fa2ea9c39e0429a5456366a6f8152 (diff)
MODEOP and MODEDEOP were transposed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2952 e03df62e-2008-0410-955e-edbf42e46eb7
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;