]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_timedbans.cpp
(Hopefully) fix a issue with m_ident's result not being used for display.
[user/henk/code/inspircd.git] / src / modules / m_timedbans.cpp
index c95cf20895f45415e20f2cc3f82d175e2bf6bd0f..53d67e8ab8a764b559411e4463e785fa304dff40 100644 (file)
@@ -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)
                                        {