]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/utils.h
Add sanity checks to the ssl modules so that theres no possibility of an out of range...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / utils.h
index f25b7f21a5930eed5d650205ccd0edd14fa656af..0203e760202e5ac212d432f55b6171a058c36d51 100644 (file)
@@ -195,6 +195,11 @@ class SpanningTreeUtilities
        void AddBurstingServer(const std::string &ServerName, TreeSocket* s);
 
        void DelBurstingServer(TreeSocket* s);
+
+       /** Return true if str looks like a server ID
+        * @param string to check against
+        */
+       bool IsSID(const std::string &str);
 };
 
 #endif