aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes/cmode_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/cmode_v.cpp')
-rw-r--r--src/modes/cmode_v.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modes/cmode_v.cpp b/src/modes/cmode_v.cpp
index 867c13243..fe62c407f 100644
--- a/src/modes/cmode_v.cpp
+++ b/src/modes/cmode_v.cpp
@@ -34,11 +34,7 @@ ModeChannelVoice::ModeChannelVoice() : ModeHandler(NULL, "voice", 'v', PARAM_ALW
prefix = '+';
levelrequired = HALFOP_VALUE;
m_paramtype = TR_NICK;
-}
-
-unsigned int ModeChannelVoice::GetPrefixRank()
-{
- return VOICE_VALUE;
+ prefixrank = VOICE_VALUE;
}
ModeAction ModeChannelVoice::OnModeChange(User* source, User*, Channel* channel, std::string &parameter, bool adding)