]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/usermanager.h
Check for windows drive letters on the start of paths and treat them the same as...
[user/henk/code/inspircd.git] / include / usermanager.h
index 4c50c4292720251ec47471fcf0a54d5d4bc28bf0..3a9e151507b9b79ca2be8e372fe46d599cde8a0f 100644 (file)
@@ -32,7 +32,15 @@ class CoreExport UserManager : public classbase
        {
                ServerInstance = Instance;
        }
-
+       
+       ~UserManager()
+       {
+               for (user_hash::iterator i = clientlist->begin();i != clientlist->end();i++)
+               {
+                       delete i->second;
+               }
+               clientlist->clear();
+       }
 
        /** Client list, a hash_map containing all clients, local and remote
         */