*/
user_hash* uuidlist;
- /** Local client list, a vector containing only local clients
+ /** Local client list, a list containing only local clients
*/
- std::vector<LocalUser*> local_users;
+ LocalUserList local_users;
/** Oper list, a vector containing all local and remote opered users
*/
*/
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.