aboutsummaryrefslogtreecommitdiff
path: root/modules/channel_op.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-28 23:25:24 +0100
committerGravatar jesopo2019-06-28 23:26:42 +0100
commit756396d7584800324996def0145485b77ee7775b (patch)
tree23c4c9c3fbb1577ef9bff11b5b0764498e7f671a /modules/channel_op.py
parentadd 'ircv3-stats' setting (diff)
signature
Implement utils.OptionsSetting
Diffstat (limited to 'modules/channel_op.py')
-rw-r--r--modules/channel_op.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py
index 11d5a0d5..749e7764 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -19,8 +19,9 @@ class InvalidTimeoutException(Exception):
@utils.export("channelset", utils.Setting("ban-format",
"Set ban format ($n = nick, $u = username, $h = hostname)",
example="*!$u@$h"))
-@utils.export("serverset", utils.Setting("mute-method",
- "Set this server's method of muting users", example="qmode"))
+@utils.export("serverset", utils.OptionsSetting("mute-method",
+ ["qmode", "insp", "unreal"], "Set this server's method of muting users",
+ example="qmode"))
class Module(ModuleManager.BaseModule):
_name = "ChanOp"