From 15a1ffae233e1bf28a3c1dc9e1e8b6298c6a0f57 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 21 Apr 2008 22:19:18 +0000 Subject: Fix quietbans and hidesplits etc, cull list's sending a seperate quit message to normal users was broken git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9574 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/xline.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/xline.cpp') diff --git a/src/xline.cpp b/src/xline.cpp index 610af2e6c..1e2e415cd 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -420,6 +420,7 @@ void XLine::DefaultApply(User* u, const std::string &line, bool bancache) snprintf(sreason, MAXBUF, "%s-Lined: %s", line.c_str(), this->reason); if (*ServerInstance->Config->MoronBanner) u->WriteServ("NOTICE %s :*** %s", u->nick, ServerInstance->Config->MoronBanner); + if (ServerInstance->Config->HideBans) ServerInstance->Users->QuitUser(u, line + "-Lined", sreason); else -- cgit v1.2.3