summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-27 18:39:01 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-27 18:39:01 +0200
commit2a924db786cfb2531126f56a8227bd46c63e444c (patch)
treedb62e441d23399802e5d9739ec3f2bbeba3919d0 /src/modules/m_spanningtree/treesocket.h
parentfe609b6bd81b6c16a9263aee586ce6824a994301 (diff)
m_spanningtree Keep track of whether we've sent our burst, to be used for translation
Diffstat (limited to 'src/modules/m_spanningtree/treesocket.h')
-rw-r--r--src/modules/m_spanningtree/treesocket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h
index 2a47da39b..f16808519 100644
--- a/src/modules/m_spanningtree/treesocket.h
+++ b/src/modules/m_spanningtree/treesocket.h
@@ -100,6 +100,12 @@ class TreeSocket : public BufferedSocket
int proto_version; /* Remote protocol version */
bool ConnectionFailureShown; /* Set to true if a connection failure message was shown */
+ /** True if we've sent our burst.
+ * This only changes the behavior of message translation for 1202 protocol servers and it can be
+ * removed once 1202 support is dropped.
+ */
+ bool burstsent;
+
/** Checks if the given servername and sid are both free
*/
bool CheckDuplicate(const std::string& servername, const std::string& sid);