From 7eebbe7da15a834c717f0fa279a300ee18c08b04 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Nov 2007 15:44:43 +0000 Subject: 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 --- include/users.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/users.h') 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* 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. :) -- cgit v1.2.3