diff options
author | Peter Powell <petpow@saberuk.com> | 2019-06-04 21:22:35 +0100 |
---|---|---|
committer | P. Powell <petpow@saberuk.com> | 2019-09-23 13:23:02 +0100 |
commit | c35029fa2fdffb5e3f8ff07ff6e69050bc3506cd (patch) | |
tree | ab4e995f818addca069b30205530919b52c4b0ed /include | |
parent | bae8987ec19260c2df76bead9fb5f523509bf421 (diff) |
Parse 1205-style mode lists for CAPAB CHANMODES/USERMODES.
Diffstat (limited to 'include')
-rw-r--r-- | include/modes.h | 4 |
1 files changed, 2 insertions, 2 deletions
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), |