diff options
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 */ |