summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-02 10:16:24 +0200
committerGitHub <noreply@github.com>2016-08-02 10:16:24 +0200
commit57b01bc95833f29c660f92d13645e088b0df0df2 (patch)
treec8757af50729c31567d77f73a0166cc68ee0e0e2 /src/modules/m_spanningtree/treesocket.h
parent18fd234f73188f400169cc1473085cfc91c2d170 (diff)
parent5f29158a5b7a892bde7dff26d87f94aacc8beadb (diff)
Merge pull request #1193 from Adam-/insp20+banburst
Fix bursting channel bans
Diffstat (limited to 'src/modules/m_spanningtree/treesocket.h')
-rw-r--r--src/modules/m_spanningtree/treesocket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h
index abda28335..efcce5f7a 100644
--- a/src/modules/m_spanningtree/treesocket.h
+++ b/src/modules/m_spanningtree/treesocket.h
@@ -100,6 +100,8 @@ class TreeSocket : public BufferedSocket
int proto_version; /* Remote protocol version */
bool ConnectionFailureShown; /* Set to true if a connection failure message was shown */
+ static const unsigned int FMODE_MAX_LENGTH = 350;
+
/** Checks if the given servername and sid are both free
*/
bool CheckDuplicate(const std::string& servername, const std::string& sid);