From 465675b124a50e8cbd6a114fd277ea18adcc4d31 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sun, 27 Jul 2014 18:42:46 +0200 Subject: m_spanningtree Don't send needless BURST after introducing a server Synthesize a BURST after SERVER for 1202 protocol servers if we are not bursting --- src/modules/m_spanningtree/compat.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/modules/m_spanningtree/compat.cpp') diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp index 83ad77414..9f25f251d 100644 --- a/src/modules/m_spanningtree/compat.cpp +++ b/src/modules/m_spanningtree/compat.cpp @@ -280,6 +280,15 @@ void TreeSocket::WriteLine(const std::string& original_line) line.erase(d, spcolon-d); line.insert(c, " * 0"); + + if (burstsent) + { + WriteLineNoCompat(line); + + // Synthesize a : BURST