summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_override.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index 8c6699d93..ccc8191a6 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -282,10 +282,8 @@ class ModuleOverride : public Module
if (chan->IsBanned(user))
{
if (NoisyOverride)
- {
chan->WriteChannelWithServ(ServerInstance->Config->ServerName, "NOTICE %s :%s used oper-override to bypass channel ban", cname, user->nick);
- ServerInstance->SNO->WriteToSnoMask('O',"%s used oper-override to bypass channel ban", cname, user->nick);
- }
+ ServerInstance->SNO->WriteToSnoMask('O',"%s used oper-override to bypass channel ban", user->nick);
}
return -1;
}