Only finish bursting once, thanks AnMaster

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9355 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2008-04-05 16:04:36 +00:00
parent c72e36b007
commit 9b3aaf3602

View File

@ -142,6 +142,8 @@ std::string& TreeServer::GetID()
void TreeServer::FinishBurst()
{
if (!this->bursting)
{
this->bursting = false;
ServerInstance->XLines->ApplyLines();
timeval t;
@ -152,6 +154,7 @@ void TreeServer::FinishBurst()
(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)