From a589577b68cb84bc877ecdd4c0f9cb84a1581ddd Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Wed, 21 Nov 2012 00:15:13 +0100 Subject: Add a typedef for LocalUserList --- include/typedefs.h | 4 ++++ include/usermanager.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'include') 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, irc::StrHashComp> chan_hash; #endif +/** A list holding local users, this is the type of UserManager::local_users + */ +typedef std::vector LocalUserList; + /** A list of failed port bindings, used for informational purposes on startup */ typedef std::vector > 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 local_users; + LocalUserList local_users; /** Oper list, a vector containing all local and remote opered users */ -- cgit v1.2.3