diff options
| author | 2008-08-27 19:47:33 +0000 | |
|---|---|---|
| committer | 2008-08-27 19:47:33 +0000 | |
| commit | a215177f3179f8a47a7d5a669467334c5b8e40ec (patch) | |
| tree | d8e86976cf465142c3dc125f3b11252f94a5cb6b /src/modules/m_spanningtree/treesocket2.cpp | |
| parent | Fix.. (diff) | |
Don't force-finish a burst on a timer, instead, set bursted if a PONG is recieved while still bursting (obviously wrong).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10326 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/treesocket2.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index 912959b4e..f2679518e 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -399,6 +399,12 @@ bool TreeSocket::ProcessLine(std::string &line) } else if (command == "PONG") { + TreeServer *s = Utils->FindServer(prefix); + if (s && s->bursting) + { + Instance->SNO->WriteToSnoMask('l',"Server \002%s\002 has not finished burst, forcing end of burst (send ENDBURST!)", prefix.c_str()); + s->FinishBurst(); + } return this->LocalPong(prefix,params); } else if (command == "VERSION") |
