summaryrefslogtreecommitdiff
path: root/include/usermanager.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-19 14:23:31 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-19 14:23:31 +0200
commitbc8664c5c49f4ac9adbc5e3937a584e4a6b35614 (patch)
treec7a4c6517485335fbc4c0d06042d3feebd503fb7 /include/usermanager.h
parentcec9265bdbb63c06d73cb983b3fc293905ed79d2 (diff)
Move and rename typedef LocalUserList to UserManager::LocalList
Diffstat (limited to 'include/usermanager.h')
-rw-r--r--include/usermanager.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/usermanager.h b/include/usermanager.h
index 945e64439..2f77e8333 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -39,6 +39,10 @@ class CoreExport UserManager : public fakederef<UserManager>
*/
typedef std::vector<User*> OperList;
+ /** A list holding local users
+ */
+ typedef intrusive_list<LocalUser> LocalList;
+
private:
/** Map of IP addresses for clone counting
*/
@@ -68,7 +72,7 @@ class CoreExport UserManager : public fakederef<UserManager>
/** Local client list, a list containing only local clients
*/
- LocalUserList local_users;
+ LocalList local_users;
/** Oper list, a vector containing all local and remote opered users
*/