diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-18 16:52:46 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-18 16:52:46 +0000 |
commit | f43283920224b3d762ae371d7320024512a8afde (patch) | |
tree | 229f5e29aa542b20b0b5620c8e4399a1603df22c /include/users.h | |
parent | ca42e175351b6209a8e9cbd5eb92bba4f38a38ce (diff) |
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
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<std::string, bool>* AllowedOperCommands; + std::set<std::string> *AllowedOperCommands; + std::set<std::string> *AllowedPrivs; /** Allowed user modes from oper classes. */ std::bitset<64> AllowedUserModes; |