From f43283920224b3d762ae371d7320024512a8afde Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 18 Oct 2008 16:52:46 +0000 Subject: Migrate oper commands to an std::set, add a set for privs also. Change the API a bit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10661 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/users.h') diff --git a/include/users.h b/include/users.h index 7492d31e0..2f8730088 100644 --- a/include/users.h +++ b/include/users.h @@ -439,7 +439,8 @@ class CoreExport User : public EventHandler */ void DecrementModes(); - std::map* AllowedOperCommands; + std::set *AllowedOperCommands; + std::set *AllowedPrivs; /** Allowed user modes from oper classes. */ std::bitset<64> AllowedUserModes; -- cgit v1.2.3