From 993a89cf78e6ec4531a4721e486796194f5d52d5 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 28 Jan 2006 20:31:13 +0000 Subject: MODEOP and MODEDEOP were transposed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2952 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_override.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_override.cpp') 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; -- cgit v1.2.3