summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-13 15:47:01 +0000
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-13 15:47:01 +0000
commit09197a4a21d0922d92407902db0019ee4670aa9f (patch)
tree9258eb3ddce35ddf1b7656b0d2a8be41bfcca032 /include/users.h
parent76e9dc04d73d94e178224bcda021edae2f7bed9b (diff)
Changed Allowed Modes to bitsets.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10541 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h4
1 files changed, 2 insertions, 2 deletions
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<std::string, bool>* 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.