From 09197a4a21d0922d92407902db0019ee4670aa9f Mon Sep 17 00:00:00 2001 From: aquanight Date: Sat, 13 Sep 2008 15:47:01 +0000 Subject: Changed Allowed Modes to bitsets. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10541 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index 5aff66e54..fdfa4606b 100644 --- a/include/users.h +++ b/include/users.h @@ -456,10 +456,10 @@ class CoreExport User : public EventHandler std::map* AllowedOperCommands; /** Allowed user modes from oper classes. */ - bool* AllowedUserModes; + std::bitset<64> AllowedUserModes; /** Allowed channel modes from oper classes. */ - bool* AllowedChanModes; + std::bitset<64> AllowedChanModes; public: /** Contains a pointer to the connect class a user is on from - this will be NULL for remote connections. -- cgit v1.2.3