summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-03-25 11:02:44 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-03-25 11:02:44 +0100
commitbc730a5d1a6df1c3ff5000a96eda6e153134ae04 (patch)
tree2ff1ea243f80f9ca0e80bb2c0781cdf13f8fc2fc /include
parentef0fecc856d435ff140ce87ca38618d6edceafcc (diff)
Add typedef OperList to UserManager for use with all_opers
Diffstat (limited to 'include')
-rw-r--r--include/usermanager.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/usermanager.h b/include/usermanager.h
index eb1d75e8d..57306c8fb 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -35,6 +35,10 @@ class CoreExport UserManager
*/
typedef std::map<irc::sockets::cidr_mask, CloneCounts> CloneMap;
+ /** Sequence container in which each element is a User*
+ */
+ typedef std::list<User*> OperList;
+
private:
/** Map of IP addresses for clone counting
*/
@@ -68,7 +72,7 @@ class CoreExport UserManager
/** Oper list, a vector containing all local and remote opered users
*/
- std::list<User*> all_opers;
+ OperList all_opers;
/** Number of unregistered users online right now.
* (Unregistered means before USER/NICK/dns)