summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-16 21:09:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-16 21:09:04 +0000
commitf7464bb04218629fc326e506949c7d66ab6c31f4 (patch)
tree09062218f0fe51d93a149708e3b692bfe754093e
parent6da93831b4a5f79110de6dba70f704771504135f (diff)
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
-rw-r--r--src/modules/m_spanningtree/main.cpp3
1 files changed, 1 insertions, 2 deletions
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);