summaryrefslogtreecommitdiff
path: root/src/modes.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-06-04 21:22:35 +0100
committerP. Powell <petpow@saberuk.com>2019-09-23 13:23:02 +0100
commitc35029fa2fdffb5e3f8ff07ff6e69050bc3506cd (patch)
treeab4e995f818addca069b30205530919b52c4b0ed /src/modes.cpp
parentbae8987ec19260c2df76bead9fb5f523509bf421 (diff)
Parse 1205-style mode lists for CAPAB CHANMODES/USERMODES.
Diffstat (limited to 'src/modes.cpp')
-rw-r--r--src/modes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes.cpp b/src/modes.cpp
index eec119b5c..523520ac5 100644
--- a/src/modes.cpp
+++ b/src/modes.cpp
@@ -186,7 +186,7 @@ ChannelModeParam::ChannelModeParam(const Anope::string &cm, char mch, bool ma) :
this->type = MODE_PARAM;
}
-ChannelModeStatus::ChannelModeStatus(const Anope::string &mname, char modeChar, char msymbol, short mlevel) : ChannelMode(mname, modeChar), symbol(msymbol), level(mlevel)
+ChannelModeStatus::ChannelModeStatus(const Anope::string &mname, char modeChar, char msymbol, unsigned mlevel) : ChannelMode(mname, modeChar), symbol(msymbol), level(mlevel)
{
this->type = MODE_STATUS;
}