summaryrefslogtreecommitdiff
path: root/src/modes.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-02-13 19:28:45 -0500
committerAdam <Adam@anope.org>2013-02-14 01:20:18 -0500
commit5cf1edeb6efe6277f5674e0647f2c9c091346ddc (patch)
tree14ef411c0205620f8a7fb1db4e74c01c1b0129cd /src/modes.cpp
parent9e544a6443117861c3d6406e435043f1cf0f7099 (diff)
Fix CommandCSMode::CanSet letting everyone set voice
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 4f77a044b..e50d4affb 100644
--- a/src/modes.cpp
+++ b/src/modes.cpp
@@ -119,7 +119,7 @@ ChannelModeParam::~ChannelModeParam()
{
}
-ChannelModeStatus::ChannelModeStatus(const Anope::string &mname, char modeChar, char mSymbol, unsigned short mLevel) : ChannelMode(mname, modeChar), Symbol(mSymbol), Level(mLevel)
+ChannelModeStatus::ChannelModeStatus(const Anope::string &mname, char modeChar, char mSymbol, short mlevel) : ChannelMode(mname, modeChar), Symbol(mSymbol), level(mlevel)
{
this->type = MODE_STATUS;
}