From 87e3da6cd9987b5a08759427a28e6651b498cd44 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 26 Oct 2006 13:23:43 +0000 Subject: 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 --- src/modules/m_override.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/modules') 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; } -- cgit v1.2.3