summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-09 13:48:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-09 13:48:42 +0000
commitbf170145e5f8fc5ce9eaad9f63d3d2ffc8ec06c6 (patch)
tree42b5dec91503e05beb05f5873e0b30edb568d71f
parentb612881ec950c1d2c57afe4fdea16d83830890db (diff)
Tidy up override snotices
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5181 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_override.cpp16
1 files 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