git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11325
e03df62e-2008-0410-955e-
edbf42e46eb7
bursting = true;
VersionString.clear();
ServerUserCount = ServerOperCount = 0;
bursting = true;
VersionString.clear();
ServerUserCount = ServerOperCount = 0;
- this->SetNextPingTime(ServerInstance->Time() + Utils->PingFreq);
+ SetNextPingTime(ServerInstance->Time() + Utils->PingFreq);
+ SetPingFlag();
void TreeServer::FinishBurstInternal()
{
this->bursting = false;
void TreeServer::FinishBurstInternal()
{
this->bursting = false;
+ SetNextPingTime(ServerInstance->Time() + Utils->PingFreq);
+ SetPingFlag();
for(unsigned int q=0; q < ChildCount(); q++)
{
TreeServer* child = GetChild(q);
for(unsigned int q=0; q < ChildCount(); q++)
{
TreeServer* child = GetChild(q);
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 > 10000 ? bursttime / 1000 : bursttime), (bursttime > 10000 ? "secs" : "msecs"));
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 > 10000 ? bursttime / 1000 : bursttime), (bursttime > 10000 ? "secs" : "msecs"));
Event rmode((char*)ServerName.c_str(), (Module*)Utils->Creator, "new_server");
rmode.Send(ServerInstance);
}
Event rmode((char*)ServerName.c_str(), (Module*)Utils->Creator, "new_server");
rmode.Send(ServerInstance);
}