1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 21:56:37 +02:00

Parse 1205-style mode lists for CAPAB CHANMODES/USERMODES.

This commit is contained in:
Peter Powell
2019-06-04 21:22:35 +01:00
committed by P. Powell
parent bae8987ec1
commit c35029fa2f
3 changed files with 223 additions and 228 deletions
+2 -2
View File
@@ -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),