diff options
Diffstat (limited to 'src/modes')
-rw-r--r-- | src/modes/cmode_o.cpp | 4 | ||||
-rw-r--r-- | src/modes/cmode_v.cpp | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/modes/cmode_o.cpp b/src/modes/cmode_o.cpp index 496a32718..4325b94a3 100644 --- a/src/modes/cmode_o.cpp +++ b/src/modes/cmode_o.cpp @@ -23,9 +23,7 @@ #include "inspircd.h" #include "builtinmodes.h" -ModeChannelOp::ModeChannelOp() : PrefixMode(NULL, "op", 'o') +ModeChannelOp::ModeChannelOp() : PrefixMode(NULL, "op", 'o', OP_VALUE, '@') { - prefix = '@'; levelrequired = OP_VALUE; - prefixrank = OP_VALUE; } 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; } |