summaryrefslogtreecommitdiff
path: root/src/modes/cmode_v.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-08-06 13:35:40 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-08-06 13:35:40 +0200
commit51da1d3b59c25af4931b998cc23e2066392e548e (patch)
tree7f04223551f1a475f304befc744776bfadad0d9a /src/modes/cmode_v.cpp
parent00660293338f6a78278e52d05f6cf9a7ef9acc64 (diff)
Pass prefix rank and prefix char to PrefixMode constructor
Diffstat (limited to 'src/modes/cmode_v.cpp')
-rw-r--r--src/modes/cmode_v.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modes/cmode_v.cpp b/src/modes/cmode_v.cpp
index d6108a984..5ecc10c9d 100644
--- a/src/modes/cmode_v.cpp
+++ b/src/modes/cmode_v.cpp
@@ -23,9 +23,7 @@
#include "inspircd.h"
#include "builtinmodes.h"
-ModeChannelVoice::ModeChannelVoice() : PrefixMode(NULL, "voice", 'v')
+ModeChannelVoice::ModeChannelVoice() : PrefixMode(NULL, "voice", 'v', VOICE_VALUE, '+')
{
- prefix = '+';
levelrequired = HALFOP_VALUE;
- prefixrank = VOICE_VALUE;
}