diff options
Diffstat (limited to 'include/builtinmodes.h')
-rw-r--r-- | include/builtinmodes.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/builtinmodes.h b/include/builtinmodes.h index 26e38204a..96838ce5e 100644 --- a/include/builtinmodes.h +++ b/include/builtinmodes.h @@ -62,7 +62,11 @@ class ModeChannelLimit : public ParamMode<ModeChannelLimit, LocalIntExt> class ModeChannelOp : public PrefixMode { public: - ModeChannelOp(); + ModeChannelOp() + : PrefixMode(NULL, "op", 'o', OP_VALUE, '@') + { + levelrequired = OP_VALUE; + } }; /** Channel mode +v @@ -70,7 +74,11 @@ class ModeChannelOp : public PrefixMode class ModeChannelVoice : public PrefixMode { public: - ModeChannelVoice(); + ModeChannelVoice() + : PrefixMode(NULL, "voice", 'v', VOICE_VALUE, '+') + { + levelrequired = HALFOP_VALUE; + } }; /** User mode +s |