diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-19 14:23:31 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-19 14:23:31 +0200 |
commit | bc8664c5c49f4ac9adbc5e3937a584e4a6b35614 (patch) | |
tree | c7a4c6517485335fbc4c0d06042d3feebd503fb7 /include | |
parent | cec9265bdbb63c06d73cb983b3fc293905ed79d2 (diff) |
Move and rename typedef LocalUserList to UserManager::LocalList
Diffstat (limited to 'include')
-rw-r--r-- | include/typedefs.h | 4 | ||||
-rw-r--r-- | include/usermanager.h | 6 |
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 */ |