]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treesocket.h
Move QuitUser into UserManager class, and unstaticize it. This prepares for some...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treesocket.h
index f75888690fe8a94df5e6bb6e0ef17193cadfa605..324203f115811db6315bc391944c4521fb673d4d 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -84,7 +84,6 @@ class TreeSocket : public BufferedSocket
        int num_lost_servers;                   /* Servers lost in split */
        time_t NextPing;                        /* Time when we are due to ping this server */
        bool LastPingWasGood;                   /* Responded to last ping we sent? */
-       bool bursting;                          /* True if not finished bursting yet */
        unsigned int keylength;                 /* Is this still used? */
        std::string ModuleList;                 /* Module list of other server from CAPAB */
        std::map<std::string,std::string> CapKeys;      /* CAPAB keys from other server */
@@ -267,7 +266,7 @@ class TreeSocket : public BufferedSocket
 
        /** Send one or more complete lines down the socket
         */
-       int WriteLine(std::string line);
+       void WriteLine(std::string line);
 
        /** Handle ERROR command */
        bool Error(std::deque<std::string> &params);
@@ -293,6 +292,16 @@ class TreeSocket : public BufferedSocket
         */
        bool ForceNick(const std::string &prefix, std::deque<std::string> &params);
 
+       /** PRIVMSG or NOTICE with server origin ONLY
+        */
+       bool ServerMessage(const std::string &messagetype, const std::string &prefix, std::deque<std::string> &params, const std::string &sourceserv);
+
+       /** ENCAP command
+        */
+       bool Encap(const std::string &prefix, std::deque<std::string> &params);
+
+       /** OPERQUIT command
+        */
        bool OperQuit(const std::string &prefix, std::deque<std::string> &params);
 
        /** SVSJOIN
@@ -303,10 +312,6 @@ class TreeSocket : public BufferedSocket
         */
        bool ServicePart(const std::string &prefix, std::deque<std::string> &params);
 
-       /** REHASH
-        */
-       bool RemoteRehash(const std::string &prefix, std::deque<std::string> &params);
-
        /** KILL
         */
        bool RemoteKill(const std::string &prefix, std::deque<std::string> &params);
@@ -347,10 +352,6 @@ class TreeSocket : public BufferedSocket
         */
        bool Push(const std::string &prefix, std::deque<std::string> &params);
 
-       /** SETTIME
-        */
-       bool HandleSetTime(const std::string &prefix, std::deque<std::string> &params);
-
        /** TIME
         */
        bool Time(const std::string &prefix, std::deque<std::string> &params);