From c35029fa2fdffb5e3f8ff07ff6e69050bc3506cd Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 4 Jun 2019 21:22:35 +0100 Subject: Parse 1205-style mode lists for CAPAB CHANMODES/USERMODES. --- include/modes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/modes.h b/include/modes.h index 47f97e52a..bd7966864 100644 --- a/include/modes.h +++ b/include/modes.h @@ -192,7 +192,7 @@ class CoreExport ChannelModeStatus : public ChannelMode /* The "level" of the mode, used to compare with other modes. * Used so we know op > halfop > voice etc. */ - short level; + unsigned level; /** constructor * @param name The mode name @@ -200,7 +200,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); + ChannelModeStatus(const Anope::string &name, char mc, char msymbol, unsigned mlevel); }; /** A virtual mode. This mode doesn't natively exist on the IRCd (like extbans), -- cgit