]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treesocket.h
Its ok to allow remote map to non-opers now, found the real culprit
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treesocket.h
index d00ac4eccd4f91d52301cdf29d43b66626788110..a33e33c8863fe1ad5c913a1a9bf49ea94dd5f05c 100644 (file)
@@ -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
@@ -347,10 +356,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);