]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Someone is getting slapped for this; the new hidesplits/hidebans behavior doesn't...
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 15 Mar 2007 05:04:51 +0000 (05:04 +0000)
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 15 Mar 2007 05:04:51 +0000 (05:04 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6673 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree/treeserver.cpp

index c9e65b2142355a926fce7f8afa2a8099c0750649..8930a7188392d5530460c381e88dd1bc12ef7ee8 100644 (file)
@@ -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();
 }