diff options
author | Adam <Adam@anope.org> | 2013-02-13 19:28:45 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-02-14 01:20:18 -0500 |
commit | 5cf1edeb6efe6277f5674e0647f2c9c091346ddc (patch) | |
tree | 14ef411c0205620f8a7fb1db4e74c01c1b0129cd /include/modes.h | |
parent | 9e544a6443117861c3d6406e435043f1cf0f7099 (diff) |
Fix CommandCSMode::CanSet letting everyone set voice
Diffstat (limited to 'include/modes.h')
-rw-r--r-- | include/modes.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |