]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/utils.h
Allow the maximum length of a chanfilter message to be configured.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / utils.h
index a2f7212f6d0c7c4a65e2e04c419b859a215d1c13..3d34b93a6add6e6941cc0737fc7cfa965074d95b 100644 (file)
@@ -48,7 +48,7 @@ class SpanningTreeUtilities : public classbase
 
  public:
        typedef std::set<TreeSocket*> TreeSocketSet;
-       typedef std::map<TreeSocket*, std::pair<std::string, int> > TimeoutList;
+       typedef std::map<TreeSocket*, std::pair<std::string, unsigned int> > TimeoutList;
 
        /** Creator module
         */
@@ -75,7 +75,7 @@ class SpanningTreeUtilities : public classbase
        /* Number of seconds that a server can go without ping
         * before opers are warned of high latency.
         */
-       int PingWarnTime;
+       unsigned int PingWarnTime;
        /** This variable represents the root of the server tree
         */
        TreeServer *TreeRoot;
@@ -100,7 +100,7 @@ class SpanningTreeUtilities : public classbase
 
        /** Ping frequency of server to server links
         */
-       int PingFreq;
+       unsigned int PingFreq;
 
        /** Initialise utility class
         */
@@ -108,7 +108,7 @@ class SpanningTreeUtilities : public classbase
 
        /** Prepare for class destruction
         */
-       CullResult cull();
+       CullResult cull() CXX11_OVERRIDE;
 
        /** Destroy class and free listeners etc
         */