summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-26 13:23:43 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-26 13:23:43 +0000
commit87e3da6cd9987b5a08759427a28e6651b498cd44 (patch)
tree9ef58572370aafe3810507586336cfb3ef0145bc /src
parent663e0a4e12392b365b8c0ba43d05a69d16bcd372 (diff)
Hopefully fix override notices on channel bans, also make the override notice behaviour respect NoisyOverride properly (NoisyOverride should NOT silence the oper notice, just the channel one)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5539 e03df62e-2008-0410-955e-edbf42e46eb7
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;
}