diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-26 20:48:05 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-26 20:48:05 +0000 |
commit | 8a329816094b08963bf1244c2ce85307ce54fcdb (patch) | |
tree | e4e5f60a6acf085f022d3fa358c83e19bb88c9ee /src | |
parent | 2f9c8c6436d4c74246e256b17b209f6c4a37739c (diff) |
Enable lag-check pings on active servers - if bandwidth waste is an issue, there should be an option to disable lag pings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11331 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index b298ae369..e873c96de 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -269,12 +269,6 @@ bool TreeSocket::ProcessLine(std::string &line) ServerInstance->Logs->Log("m_spanningtree",DEBUG,"Protocol violation: Fake direction in command '%s' from connection '%s'",line.c_str(),this->GetName().c_str()); return true; } - /* Fix by brain: - * When there is activity on the socket, reset the ping counter so - * that we're not wasting bandwidth pinging an active server. - */ - route_back_again->SetNextPingTime(ServerInstance->Time() + Utils->PingFreq); - route_back_again->SetPingFlag(); } else { |