]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treeserver.h
Fix ENCAP stripping, was incorrectly checking for " CHGHOST" and similar commands
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treeserver.h
index 24f9c0499131e873d3e1dd5f1bcdf8d2c3389b77..7eb19d9a171600d65db9334bde7d7f56dfda583c 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -14,6 +14,8 @@
 #ifndef __TREESERVER_H__
 #define __TREESERVER_H__
 
+#include "treesocket.h"
+
 /** Each server in the tree is represented by one class of
  * type TreeServer. A locally connected TreeServer can
  * have a class of type TreeSocket associated with it, for
@@ -51,6 +53,7 @@ class TreeServer : public classbase
        void SetID(const std::string &id);
 
  public:
+       FakeUser* const ServerUser;             /* User representing this server */
        time_t age;
 
        bool Warned;                            /* True if we've warned opers about high latency on this server */
@@ -108,7 +111,7 @@ class TreeServer : public classbase
         */
        time_t NextPingTime();
 
-       /** Last ping time in microseconds, used to calculate round trip time
+       /** Last ping time in milliseconds, used to calculate round trip time
         */
        unsigned long LastPingMsec;
 
@@ -194,10 +197,10 @@ class TreeServer : public classbase
        /** Recursive call for child servers */
        void FinishBurstInternal();
 
+       CullResult cull();
        /** Destructor
         */
        ~TreeServer();
-
 };
 
 #endif