]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treeserver.h
Wait longer before sending data on the connect than on the accept
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treeserver.h
index 1d053112db127ba8c30efda0e625d82f089c391c..c65fc0dee6338e381621ca267325914873915e46 100644 (file)
@@ -1,3 +1,16 @@
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
 #ifndef __TREESERVER_H__
 #define __TREESERVER_H__
 
@@ -48,7 +61,7 @@ class TreeServer : public classbase
         * This constructor initializes the server's Route and Parent, and sets up
         * its ping counters so that it will be pinged one minute from now.
         */
-       TreeServer(SpanningTreeUtilities* Util, InspIRCd* Instance, std::string Name, std::string Desc, TreeServer* Above, TreeSocket* Sock);
+       TreeServer(SpanningTreeUtilities* Util, InspIRCd* Instance, std::string Name, std::string Desc, TreeServer* Above, TreeSocket* Sock, bool Hide);
 
        int QuitUsers(const std::string &reason);
 
@@ -98,6 +111,10 @@ class TreeServer : public classbase
         */
        time_t rtt;
 
+       /** True if this server is hidden
+        */
+       bool Hidden;
+
        /** True if the server answered their last ping
         */
        bool AnsweredLastPing();