From bf170145e5f8fc5ce9eaad9f63d3d2ffc8ec06c6 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 9 Sep 2006 13:48:42 +0000 Subject: Tidy up override snotices git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5181 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_override.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index 3d97be577..9771e5edd 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -89,7 +89,7 @@ class ModuleOverride : public Module { if (((chan->GetStatus(source) == STATUS_HOP) && (chan->GetStatus(user) == STATUS_OP)) || (chan->GetStatus(source) < STATUS_VOICE)) { - ServerInstance->SNO->WriteToSnoMask('O',"NOTICE: "+std::string(source->nick)+" Override-Kicked "+std::string(user->nick)+" on "+std::string(chan->name)+" ("+reason+")"); + ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" Override-Kicked "+std::string(user->nick)+" on "+std::string(chan->name)+" ("+reason+")"); } /* Returning -1 explicitly allows the kick */ return -1; @@ -115,7 +115,7 @@ class ModuleOverride : public Module { if (NoisyOverride) if ((!channel->HasUser(source)) || (mode < STATUS_OP)) - ServerInstance->SNO->WriteToSnoMask('O',"NOTICE: "+std::string(source->nick)+" Override-Deopped "+std::string(dest->nick)+" on "+std::string(channel->name)); + ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" Override-Deopped "+std::string(dest->nick)+" on "+std::string(channel->name)); return ACR_ALLOW; } else @@ -129,7 +129,7 @@ class ModuleOverride : public Module { if (NoisyOverride) if ((!channel->HasUser(source)) || (mode < STATUS_OP)) - ServerInstance->SNO->WriteToSnoMask('O',"NOTICE: "+std::string(source->nick)+" Override-Opped "+std::string(dest->nick)+" on "+std::string(channel->name)); + ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" Override-Opped "+std::string(dest->nick)+" on "+std::string(channel->name)); return ACR_ALLOW; } else @@ -143,7 +143,7 @@ class ModuleOverride : public Module { if (NoisyOverride) if ((!channel->HasUser(source)) || (mode < STATUS_HOP)) - ServerInstance->SNO->WriteToSnoMask('O',"NOTICE: "+std::string(source->nick)+" Override-Voiced "+std::string(dest->nick)+" on "+std::string(channel->name)); + ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" Override-Voiced "+std::string(dest->nick)+" on "+std::string(channel->name)); return ACR_ALLOW; } else @@ -157,7 +157,7 @@ class ModuleOverride : public Module { if (NoisyOverride) if ((!channel->HasUser(source)) || (mode < STATUS_HOP)) - ServerInstance->SNO->WriteToSnoMask('O',"NOTICE: "+std::string(source->nick)+" Override-Devoiced "+std::string(dest->nick)+" on "+std::string(channel->name)); + ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" Override-Devoiced "+std::string(dest->nick)+" on "+std::string(channel->name)); return ACR_ALLOW; } else @@ -171,7 +171,7 @@ class ModuleOverride : public Module { if (NoisyOverride) if ((!channel->HasUser(source)) || (mode < STATUS_OP)) - ServerInstance->SNO->WriteToSnoMask('O',"NOTICE: "+std::string(source->nick)+" Override-Halfopped "+std::string(dest->nick)+" on "+std::string(channel->name)); + ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" Override-Halfopped "+std::string(dest->nick)+" on "+std::string(channel->name)); return ACR_ALLOW; } else @@ -185,7 +185,7 @@ class ModuleOverride : public Module { if (NoisyOverride) if ((!channel->HasUser(source)) || (mode < STATUS_OP)) - ServerInstance->SNO->WriteToSnoMask('O',"NOTICE: "+std::string(source->nick)+" Override-Dehalfopped "+std::string(dest->nick)+" on "+std::string(channel->name)); + ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" Override-Dehalfopped "+std::string(dest->nick)+" on "+std::string(channel->name)); return ACR_ALLOW; } else @@ -200,7 +200,7 @@ class ModuleOverride : public Module ServerInstance->Log(DEBUG,"Override access check other mode"); if (NoisyOverride) if ((!channel->HasUser(source)) || (mode < STATUS_OP)) - ServerInstance->SNO->WriteToSnoMask('O',"NOTICE: "+std::string(source->nick)+" changed modes on "+std::string(channel->name)); + ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" changed modes on "+std::string(channel->name)); return ACR_ALLOW; } else -- cgit v1.2.3