From 134cff821ec958727ab081130094ba746d7bb759 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 6 Apr 2008 16:26:50 +0000 Subject: Mark ping answered when we get a two form reply git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9378 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/pong.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/m_spanningtree/pong.cpp b/src/modules/m_spanningtree/pong.cpp index 09843c412..13860f0e9 100644 --- a/src/modules/m_spanningtree/pong.cpp +++ b/src/modules/m_spanningtree/pong.cpp @@ -72,6 +72,7 @@ bool TreeSocket::LocalPong(const std::string &prefix, std::deque &p gettimeofday(&t, NULL); long ts = (t.tv_sec * 1000) + (t.tv_usec / 1000); ServerSource->rtt = ts - ServerSource->LastPingMsec; + ServerSource->SetPingFlag(); } } else -- cgit v1.2.3