]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treeserver.h
m_spanningtree Remove split servers from the hash maps in TreeServer::SQuitInternal()
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treeserver.h
index 2e6c47bf4be066f39a60ab8693e3b58a7ec40584..88b43d1820b54d55d5da71ee2f3d19b805ced0af 100644 (file)
@@ -69,6 +69,10 @@ class TreeServer : public Server
         */
        void SQuitInternal(const std::string& reason, int& num_lost_servers, int& num_lost_users);
 
+       /** Remove the reference to this server from the hash maps
+        */
+       void RemoveHash();
+
  public:
        typedef std::vector<TreeServer*> ChildServers;
        FakeUser* const ServerUser;             /* User representing this server */
@@ -237,9 +241,7 @@ class TreeServer : public Server
 
        CullResult cull();
 
-       /** Destructor
-        * Removes the reference to this object from the
-        * hash maps.
+       /** Destructor, deletes ServerUser unless IsRoot()
         */
        ~TreeServer();