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/channels.h | |
parent | e51d6e2fe1b3426a8f08c17a3afc6d1859e7bfeb (diff) |
Made the flags class take an optional size arg
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 75f5dad3d..7cdc32de3 100644 --- a/include/channels.h +++ b/include/channels.h @@ -39,7 +39,7 @@ struct UserContainer { User *user; UserData ud; - Flags<ChannelModeName> *Status; + Flags<ChannelModeName, CMODE_END> *Status; UserContainer(User *u) : user(u) { } virtual ~UserContainer() { } @@ -55,7 +55,7 @@ enum ChannelFlags CH_SYNCING }; -class CoreExport Channel : public Extensible, public Flags<ChannelFlags> +class CoreExport Channel : public Extensible, public Flags<ChannelFlags, CMODE_END> { private: /** A map of channel modes with their parameters set on this channel @@ -63,7 +63,7 @@ class CoreExport Channel : public Extensible, public Flags<ChannelFlags> std::map<ChannelModeName, std::string> Params; /* Modes set on the channel */ - Flags<ChannelModeName> modes; + Flags<ChannelModeName, CMODE_END> modes; public: /** Default constructor |