diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-15 05:04:51 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-15 05:04:51 +0000 |
commit | 7c197db72eab03321e4f3e847054e13126520504 (patch) | |
tree | dcb65d561ed990a89f822c59ad8a7b7ae89f25b1 /src/modules/m_spanningtree | |
parent | 98df7c960ca6a450f31de31b83d8877063ac2058 (diff) |
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
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/treeserver.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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(); } |