From b4c762eb4ea1a83556dac95d6b248e6bcf220843 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 29 Jun 2019 21:33:26 +0100 Subject: Automatically format `example` text for OptionsSetting (showing options) --- modules/channel_op.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/channel_op.py') diff --git a/modules/channel_op.py b/modules/channel_op.py index 749e7764..4b2dbe15 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -20,8 +20,7 @@ class InvalidTimeoutException(Exception): "Set ban format ($n = nick, $u = username, $h = hostname)", example="*!$u@$h")) @utils.export("serverset", utils.OptionsSetting("mute-method", - ["qmode", "insp", "unreal"], "Set this server's method of muting users", - example="qmode")) + ["qmode", "insp", "unreal"], "Set this server's method of muting users")) class Module(ModuleManager.BaseModule): _name = "ChanOp" -- cgit v1.3.1-10-gc9f91