diff options
author | Adam <Adam@anope.org> | 2010-07-29 23:08:47 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-07-29 23:08:47 -0400 |
commit | abfc9926dbe0b9dd00c060a9e4ebcc53e60e6709 (patch) | |
tree | bb919b5886391b2506f670d9fb0f82b4686e0cf5 /include/channels.h | |
parent | cc649031792af1e94c7701decd708aba4091d708 (diff) |
Added support for tracking inspircd2.0 usermode +Q and cahnged the Flags bitsets for modes to not use a max defined value, it can go over
Diffstat (limited to 'include/channels.h')
-rw-r--r-- | include/channels.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/channels.h b/include/channels.h index 56fa7cf46..845f8fc36 100644 --- a/include/channels.h +++ b/include/channels.h @@ -44,7 +44,7 @@ struct UserContainer { User *user; UserData ud; - Flags<ChannelModeName, CMODE_END> *Status; + Flags<ChannelModeName> *Status; UserContainer(User *u) : user(u) { } virtual ~UserContainer() { } @@ -60,7 +60,7 @@ enum ChannelFlags CH_SYNCING }; -class CoreExport Channel : public Extensible, public Flags<ChannelFlags, CMODE_END> +class CoreExport Channel : public Extensible, public Flags<ChannelFlags> { private: /** A map of channel modes with their parameters set on this channel @@ -68,7 +68,7 @@ class CoreExport Channel : public Extensible, public Flags<ChannelFlags, CMODE_E std::map<ChannelModeName, Anope::string> Params; /* Modes set on the channel */ - Flags<ChannelModeName, CMODE_END> modes; + Flags<ChannelModeName> modes; public: /** Default constructor |