]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treeserver.cpp
Fix for bug #792 reported by recyclebin, do not attempt to ping local servers which...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treeserver.cpp
index 6c3e0f87d8cc6a32a2a4dbbec77059e0ad3e948f..455b49c846030a174746ffbc40b29e7365aaaaf7 100644 (file)
@@ -3,7 +3,7 @@
  *       +------------------------------------+
  *
  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -139,9 +139,19 @@ std::string& TreeServer::GetID()
        return sid;
 }
 
-void TreeServer::FinishBurst()
+void TreeServer::FinishBurstInternal()
 {
        this->bursting = false;
+       for(unsigned int q=0; q < ChildCount(); q++)
+       {
+               TreeServer* child = GetChild(q);
+               child->FinishBurstInternal();
+       }
+}
+
+void TreeServer::FinishBurst()
+{
+       FinishBurstInternal();
        ServerInstance->XLines->ApplyLines();
        timeval t;
        gettimeofday(&t, NULL);