summaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-21 22:19:18 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-21 22:19:18 +0000
commit15a1ffae233e1bf28a3c1dc9e1e8b6298c6a0f57 (patch)
tree456e83544f7d8db020f187a9a0a8747c5204b875 /src/xline.cpp
parent28a1967177d055fbbd30b18864209721b8075ce1 (diff)
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
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp1
1 files changed, 1 insertions, 0 deletions
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