summaryrefslogtreecommitdiff
path: root/src/modules/m_override.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-27 21:53:01 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-27 21:53:01 +0000
commit862bdf27b8a3b419ab353cd74a547d5b5b601dba (patch)
tree5594df4a50297fcf1cdb534aa24cbd883c0294d1 /src/modules/m_override.cpp
parenta940fbddeea48e675a5a3cac1b982d7ef57c9fcf (diff)
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
Diffstat (limited to 'src/modules/m_override.cpp')
-rw-r--r--src/modules/m_override.cpp2
1 files changed, 1 insertions, 1 deletions
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: " : "")+