diff options
| author | 2019-06-28 23:25:24 +0100 | |
|---|---|---|
| committer | 2019-06-28 23:26:42 +0100 | |
| commit | 756396d7584800324996def0145485b77ee7775b (patch) | |
| tree | 23c4c9c3fbb1577ef9bff11b5b0764498e7f671a /modules/channel_op.py | |
| parent | add 'ircv3-stats' setting (diff) | |
| signature | ||
Implement utils.OptionsSetting
Diffstat (limited to 'modules/channel_op.py')
| -rw-r--r-- | modules/channel_op.py | 5 |
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" |
