summaryrefslogtreecommitdiff
path: root/include/builtinmodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/builtinmodes.h')
-rw-r--r--include/builtinmodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/builtinmodes.h b/include/builtinmodes.h
index bfb46823f..922a86f0e 100644
--- a/include/builtinmodes.h
+++ b/include/builtinmodes.h
@@ -66,7 +66,7 @@ class ModeChannelOp : public PrefixMode
ModeChannelOp()
: PrefixMode(NULL, "op", 'o', OP_VALUE, '@')
{
- levelrequired = OP_VALUE;
+ ranktoset = ranktounset = OP_VALUE;
}
};
@@ -78,7 +78,7 @@ class ModeChannelVoice : public PrefixMode
ModeChannelVoice()
: PrefixMode(NULL, "voice", 'v', VOICE_VALUE, '+')
{
- levelrequired = HALFOP_VALUE;
+ ranktoset = ranktounset = HALFOP_VALUE;
}
};