]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/usermanager.h
ListModeBase: Minor changes to original u_listmode code
[user/henk/code/inspircd.git] / include / usermanager.h
index be6c6b6bb9b1990cfc2d3f7f4e2c77e42d712fed..812d8e2f2b77b47b37e133d38b77d5c6f2687dd3 100644 (file)
@@ -52,7 +52,7 @@ class CoreExport UserManager
         */
        user_hash* uuidlist;
 
-       /** Local client list, a vector containing only local clients
+       /** Local client list, a list containing only local clients
         */
        LocalUserList local_users;
 
@@ -70,6 +70,12 @@ class CoreExport UserManager
         */
        clonemap global_clones;
 
+       /**
+        * Reset the already_sent IDs so we don't wrap it around and drop a message
+        * Also removes all expired invites
+     */
+       void GarbageCollect();
+
        /** Add a client to the system.
         * This will create a new User, insert it into the user_hash,
         * initialize it as not yet registered, and add it to the socket engine.