summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 15:44:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 15:44:43 +0000
commit7eebbe7da15a834c717f0fa279a300ee18c08b04 (patch)
tree133d934d2bd7fb126c5f781ec23ef1764602f8be /include/users.h
parent7336f449ebaa068703e1caa7d8b1b7a9993b651f (diff)
Implement roadmap item: "userrec::HasPermission -> map of maps, for (even faster) access"
This is not a map of maps, but a single level map per oper, in non-opers this member is NULL. Please note that this is not yet tested. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8564 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 0cf786c76..f28a12c75 100644
--- a/include/users.h
+++ b/include/users.h
@@ -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. :)