From 07483d2fecaf3b3d089bb378935e48f8afb2ca73 Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 1 Jun 2009 00:47:56 +0000 Subject: This time it's actually compile tested git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11394 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_timedbans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index c95cf2089..53d67e8ab 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -166,7 +166,7 @@ class ModuleTimedBans : public Module CUList empty; std::string expiry = "*** Timed ban on " + chan + " expired."; - cr->WriteChannelWithServ(ServerInstance->FakeClient, true, '@', empty, "NOTICE %s :%s", cr->name.c_str(), expiry.c_str()); + cr->WriteAllExcept(ServerInstance->FakeClient, true, '@', empty, "NOTICE %s :%s", cr->name.c_str(), expiry.c_str()); ServerInstance->PI->SendChannelNotice(cr, '@', expiry); if (ServerInstance->Config->AllowHalfop) { -- cgit v1.2.3