From: brain Date: Wed, 16 May 2007 21:09:04 +0000 (+0000) Subject: We announce a ping timeout THREE different times and ways on the server that sent... X-Git-Tag: v2.0.23~5371 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=sidebyside;h=f7464bb04218629fc326e506949c7d66ab6c31f4;p=user%2Fhenk%2Fcode%2Finspircd.git We announce a ping timeout THREE different times and ways on the server that sent the ping. this is excessive. Remove the announcement in DoPingChecks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7036 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 80812d152..d037b7101 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -472,8 +472,7 @@ void ModuleSpanningTree::DoPingChecks(time_t curtime) } else { - // they didnt answer, boot them - ServerInstance->SNO->WriteToSnoMask('l',"Server \002%s\002 pinged out",serv->GetName().c_str()); + /* they didnt answer, boot them */ sock->SendError("Ping timeout"); sock->Squit(serv,"Ping timeout"); ServerInstance->SE->DelFd(sock);