From e908dc0dc75c63699ffbffe9246e30420ee51f04 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Tue, 23 Jul 2013 14:39:50 +0100 Subject: Make ChannelModeStatus level mandatory Levels are used in Channel::SetCorrectModes() when removing modes. --- include/modes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/modes.h b/include/modes.h index 1e5d7f7c1..807b91c25 100644 --- a/include/modes.h +++ b/include/modes.h @@ -193,7 +193,7 @@ class CoreExport ChannelModeStatus : public ChannelMode * @param msymbol The symbol for the mode, eg @ % * @param mlevel A level for the mode, which is usually determined by the PREFIX capab */ - ChannelModeStatus(const Anope::string &name, char mc, char msymbol, short mlevel = 0); + ChannelModeStatus(const Anope::string &name, char mc, char msymbol, short mlevel); /** destructor */ -- cgit