diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-06 16:26:50 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-06 16:26:50 +0000 |
commit | 134cff821ec958727ab081130094ba746d7bb759 (patch) | |
tree | 8fb87558ed242693ee30e674dceccd74e6b4f5b7 /src/modules | |
parent | 6e1c5865b742bff79adca9c78d826b63f7c2a2e2 (diff) |
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
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/pong.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<std::string> &p gettimeofday(&t, NULL); long ts = (t.tv_sec * 1000) + (t.tv_usec / 1000); ServerSource->rtt = ts - ServerSource->LastPingMsec; + ServerSource->SetPingFlag(); } } else |