diff options
| author | Adam <Adam@anope.org> | 2010-06-26 22:50:02 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-26 22:50:02 -0400 |
| commit | d49aee6cf88c79220eb785245257544c8051247f (patch) | |
| tree | 1702008e37ed37c0b765dd1d5bca82823c432685 /include/users.h | |
| parent | e51d6e2fe1b3426a8f08c17a3afc6d1859e7bfeb (diff) | |
Made the flags class take an optional size arg
Diffstat (limited to 'include/users.h')
| -rw-r--r-- | include/users.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h index f5df0607c..a6e75680b 100644 --- a/include/users.h +++ b/include/users.h @@ -20,7 +20,7 @@ extern CoreExport user_uid_map UserListByUID; struct ChannelContainer { Channel *chan; - Flags<ChannelModeName> *Status; + Flags<ChannelModeName, CMODE_END> *Status; ChannelContainer(Channel *c) : chan(c) { } virtual ~ChannelContainer() { } @@ -36,7 +36,7 @@ class CoreExport User : public Extensible std::string ident; std::string uid; bool OnAccess; /* If the user is on the access list of the nick theyre on */ - Flags<UserModeName> modes; /* Bitset of mode names the user has set on them */ + Flags<UserModeName, UMODE_END> modes; /* Bitset of mode names the user has set on them */ std::map<UserModeName, std::string> Params; /* Map of user modes and the params this user has */ NickCore *nc; /* NickCore account the user is currently loggged in as */ |
