]> 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 2e490ed776c679982428e04688d1305dca53f9db..324203f115811db6315bc391944c4521fb673d4d 100644 (file)
@@ -266,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);
@@ -292,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
@@ -302,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);