]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treesocket.h
Add DYING link state, push error messages on link, and only limit recvq on unauthenti...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treesocket.h
index c1678ea5ee9174b37b238addd724176188e528ab..4438b473d3298a316bfb146eb89b7816cfdd6679 100644 (file)
  * WAIT_AUTH_2:        indicates that the socket is inbound
  *                                                     but has not yet sent and received
  *                                                     SERVER strings.
- * CONNECTED:          represents a fully authorized, fully
+ * CONNECTED:   represents a fully authorized, fully
  *                                                     connected server.
+ * DYING:       represents a server that has had an error.
  */
-enum ServerState { CONNECTING, WAIT_AUTH_1, WAIT_AUTH_2, CONNECTED };
+enum ServerState { CONNECTING, WAIT_AUTH_1, WAIT_AUTH_2, CONNECTED, DYING };
 
 struct CapabData
 {
@@ -251,14 +252,6 @@ class TreeSocket : public BufferedSocket
        /** Handle ERROR command */
        void Error(parameterlist &params);
 
-       /** remote MOTD. */
-       bool Motd(const std::string &prefix, parameterlist &params);
-
-       /** remote ADMIN. */
-       bool Admin(const std::string &prefix, parameterlist &params);
-
-       bool Stats(const std::string &prefix, parameterlist &params);
-
        /** Remote AWAY */
        bool Away(const std::string &prefix, parameterlist &params);
 
@@ -301,10 +294,6 @@ class TreeSocket : public BufferedSocket
         */
        bool Push(const std::string &prefix, parameterlist &params);
 
-       /** TIME
-        */
-       bool Time(const std::string &prefix, parameterlist &params);
-
        /** PING
         */
        bool LocalPing(const std::string &prefix, parameterlist &params);