summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/typedefs.h4
-rw-r--r--include/usermanager.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/typedefs.h b/include/typedefs.h
index da2775152..250bec5c9 100644
--- a/include/typedefs.h
+++ b/include/typedefs.h
@@ -64,6 +64,10 @@ struct ResourceRecord;
typedef nspace::hash_map<std::string, Channel*, nspace::hash<std::string>, irc::StrHashComp> chan_hash;
#endif
+/** A list holding local users, this is the type of UserManager::local_users
+ */
+typedef std::vector<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 92b40b373..be6c6b6bb 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -54,7 +54,7 @@ class CoreExport UserManager
/** Local client list, a vector containing only local clients
*/
- std::vector<LocalUser*> local_users;
+ LocalUserList local_users;
/** Oper list, a vector containing all local and remote opered users
*/