diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_override.cpp | 2 |
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: " : "")+ |