]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/usermanager.h
Add development version checks to non-interactive mode.
[user/henk/code/inspircd.git] / include / usermanager.h
index 2f77e8333239a7e0c4b2c390779be0d1df5d01db..3671e8907e6de89101afa39d9581f15d39a9bb9d 100644 (file)
@@ -41,7 +41,7 @@ class CoreExport UserManager : public fakederef<UserManager>
 
        /** A list holding local users
        */
-       typedef intrusive_list<LocalUser> LocalList;
+       typedef insp::intrusive_list<LocalUser> LocalList;
 
  private:
        /** Map of IP addresses for clone counting
@@ -52,6 +52,10 @@ class CoreExport UserManager : public fakederef<UserManager>
         */
        const CloneCounts zeroclonecounts;
 
+       /** Local client list, a list containing only local clients
+        */
+       LocalList local_users;
+
  public:
        /** Constructor, initializes variables
         */
@@ -70,10 +74,6 @@ class CoreExport UserManager : public fakederef<UserManager>
         */
        user_hash uuidlist;
 
-       /** Local client list, a list containing only local clients
-        */
-       LocalList local_users;
-
        /** Oper list, a vector containing all local and remote opered users
         */
        OperList all_opers;
@@ -173,6 +173,11 @@ class CoreExport UserManager : public fakederef<UserManager>
         */
        user_hash& GetUsers() { return clientlist; }
 
+       /** Get a list containing all local users
+        * @return A const list of local users
+        */
+       const LocalList& GetLocalUsers() const { return local_users; }
+
        /** Send a server notice to all local users
         * @param text The text format string to send
         * @param ... The format arguments