]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treeserver.cpp
Make ping warnings and lag check global across all servers on a network. This means...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treeserver.cpp
index dd81a575e0cd543f32552379c6bfd43b2b726c3e..db26b3f889ee6a0a414eba0cd5ebd9a27e17d808 100644 (file)
@@ -142,19 +142,16 @@ std::string& TreeServer::GetID()
 
 void TreeServer::FinishBurst()
 {
-       if (!this->bursting)
-       {
-               this->bursting = false;
-               ServerInstance->XLines->ApplyLines();
-               timeval t;
-               gettimeofday(&t, NULL);
-               long ts = (t.tv_sec * 1000) + (t.tv_usec / 1000);
-               unsigned long bursttime = ts - this->StartBurst;
-               ServerInstance->SNO->WriteToSnoMask('l', "Received end of netburst from \2%s\2 (burst time: %lu %s)", ServerName.c_str(),
-                                                       (bursttime > 1000 ? bursttime / 1000 : bursttime), (bursttime > 1000 ? "secs" : "msecs"));
-               Event rmode((char*)ServerName.c_str(),  (Module*)Utils->Creator, "new_server");
-               rmode.Send(ServerInstance);
-       }
+       this->bursting = false;
+       ServerInstance->XLines->ApplyLines();
+       timeval t;
+       gettimeofday(&t, NULL);
+       long ts = (t.tv_sec * 1000) + (t.tv_usec / 1000);
+       unsigned long bursttime = ts - this->StartBurst;
+       ServerInstance->SNO->WriteToSnoMask('l', "Received end of netburst from \2%s\2 (burst time: %lu %s)", ServerName.c_str(),
+                                               (bursttime > 1000 ? bursttime / 1000 : bursttime), (bursttime > 1000 ? "secs" : "msecs"));
+       Event rmode((char*)ServerName.c_str(),  (Module*)Utils->Creator, "new_server");
+       rmode.Send(ServerInstance);
 }
 
 void TreeServer::SetID(const std::string &id)