From 5cf1edeb6efe6277f5674e0647f2c9c091346ddc Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 13 Feb 2013 19:28:45 -0500 Subject: Fix CommandCSMode::CanSet letting everyone set voice --- include/modes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/modes.h b/include/modes.h index 3aaf6d1ff..5d884692e 100644 --- a/include/modes.h +++ b/include/modes.h @@ -185,15 +185,15 @@ class CoreExport ChannelModeStatus : public ChannelMode /* The "level" of the mode, used to compare with other modes. * Used so we know op > halfop > voice etc. */ - unsigned short Level; + short level; /** constructor * @param name The mode name * @param mc The mode char * @param mSymbol The symbol for the mode, eg @ % - * @param mLevel A level for the mode, which is usually determined by the PREFIX capab + * @param mlevel A level for the mode, which is usually determined by the PREFIX capab */ - ChannelModeStatus(const Anope::string &name, char mc, char mSymbol, unsigned short mLevel = 0); + ChannelModeStatus(const Anope::string &name, char mc, char mSymbol, short mlevel = 0); /** destructor */ -- cgit