]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Begin rethink on this. Warning, this WILL break your ircd if youre using trunk!
[user/henk/code/inspircd.git] / include / users.h
index b11d346b787840c95ab50620f76cb7652cf57320..f28a12c75c2608a9aa4a11807ef41e0d1298f302 100644 (file)
@@ -489,6 +489,8 @@ class CoreExport User : public connection
         */
        unsigned int MaxChans;
 
+       std::map<std::string, bool>* AllowedOperCommands;
+
  public:
        /** Contains a pointer to the connect class a user is on from - this will be NULL for remote connections.
         * The pointer is guarenteed to *always* be valid. :)
@@ -661,11 +663,7 @@ class CoreExport User : public connection
         */
        std::string WriteError;
 
-       /** This is true if the user matched an exception when they connected to the ircd.
-        * It isnt valid after this point, and you should not attempt to do anything with it
-        * after this point, because the eline might be removed at a later time, and/or no
-        * longer be applicable to this user. It is only used to save doing the eline lookup
-        * twice (instead we do it once and set this value).
+       /** This is true if the user matched an exception (E:Line). It is used to save time on ban checks.
         */
        bool exempt;