summaryrefslogtreecommitdiff
path: root/include/regchannel.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-06-26 22:50:02 -0400
committerAdam <Adam@anope.org>2010-06-26 22:50:02 -0400
commitd49aee6cf88c79220eb785245257544c8051247f (patch)
tree1702008e37ed37c0b765dd1d5bca82823c432685 /include/regchannel.h
parente51d6e2fe1b3426a8f08c17a3afc6d1859e7bfeb (diff)
Made the flags class take an optional size arg
Diffstat (limited to 'include/regchannel.h')
-rw-r--r--include/regchannel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/regchannel.h b/include/regchannel.h
index 947deda8c..ec04134f1 100644
--- a/include/regchannel.h
+++ b/include/regchannel.h
@@ -62,15 +62,15 @@ enum ChannelInfoFlag
CI_END
};
-class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag>
+class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag, CI_END>
{
private:
std::map<ChannelModeName, std::string> Params; /* Map of parameters by mode name for mlock */
std::vector<ChanAccess *> access; /* List of authorized users */
std::vector<AutoKick *> akick; /* List of users to kickban */
std::vector<BadWord *> badwords; /* List of badwords */
- Flags<ChannelModeName> mlock_on; /* Modes mlocked on */
- Flags<ChannelModeName> mlock_off; /* Modes mlocked off */
+ Flags<ChannelModeName, CMODE_END> mlock_on; /* Modes mlocked on */
+ Flags<ChannelModeName, CMODE_END> mlock_off; /* Modes mlocked off */
public:
/** Default constructor