From 7c197db72eab03321e4f3e847054e13126520504 Mon Sep 17 00:00:00 2001 From: special Date: Thu, 15 Mar 2007 05:04:51 +0000 Subject: Someone is getting slapped for this; the new hidesplits/hidebans behavior doesn't actually check if those options are enabled. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6673 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treeserver.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp index c9e65b214..8930a7188 100644 --- a/src/modules/m_spanningtree/treeserver.cpp +++ b/src/modules/m_spanningtree/treeserver.cpp @@ -121,7 +121,12 @@ int TreeServer::QuitUsers(const std::string &reason) { userrec* a = (userrec*)*n; if (!IS_LOCAL(a)) - userrec::QuitUser(ServerInstance, a, "*.net *.split", reason_s); + { + if (ServerInstance->Config->HideSplits) + userrec::QuitUser(ServerInstance, a, "*.net *.split", reason_s); + else + userrec::QuitUser(ServerInstance, a, reason_s); + } } return time_to_die.size(); } -- cgit v1.2.3