summaryrefslogtreecommitdiff
path: root/include
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
parentcec9265bdbb63c06d73cb983b3fc293905ed79d2 (diff)
Move and rename typedef LocalUserList to UserManager::LocalList
Diffstat (limited to 'include')
-rw-r--r--include/typedefs.h4
-rw-r--r--include/usermanager.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/include/typedefs.h b/include/typedefs.h
index 8f9a64888..dfecb0483 100644
--- a/include/typedefs.h
+++ b/include/typedefs.h
@@ -54,10 +54,6 @@ struct ModResult;
typedef TR1NS::unordered_map<std::string, User*, irc::insensitive, irc::StrHashComp> user_hash;
typedef TR1NS::unordered_map<std::string, Channel*, irc::insensitive, irc::StrHashComp> chan_hash;
-/** A list holding local users, this is the type of UserManager::local_users
- */
-typedef intrusive_list<LocalUser> LocalUserList;
-
/** A list of failed port bindings, used for informational purposes on startup */
typedef std::vector<std::pair<std::string, std::string> > FailedPortList;
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
*/