From 862bdf27b8a3b419ab353cd74a547d5b5b601dba Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 27 Feb 2009 21:53:01 +0000 Subject: Revert r10640, it blocked override notices unless they contained an op/deop/etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11158 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 3010e1e46..84311250c 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -71,7 +71,7 @@ class ModuleOverride : public Module if ((OverriddenMode) && (irc::string(command.c_str()) == "MODE") && (result == CMD_SUCCESS)) { int Total = OverOps + OverDeops + OverVoices + OverDevoices + OverHalfops + OverDehalfops; - if (Total == 0 || ServerInstance->Modes->GetLastParse().empty()) + if (ServerInstance->Modes->GetLastParse().empty()) return; ServerInstance->SNO->WriteToSnoMask('G',std::string(user->nick)+" Overriding modes: "+ServerInstance->Modes->GetLastParse()+" "+(Total ? "[Detail: " : "")+ -- cgit v1.2.3