aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-08-14 15:08:17 +0100
committerGravatar jesopo2019-08-14 15:08:17 +0100
commit6e571fbe1afc133970149165882e830139b5627b (patch)
tree0031104bebc582c0f4b3eef8c6b3c6eb46908132
parentswitch `!mute` to use `+1s` duration format (diff)
signature
set channel_op.py _name to ChanOp
-rw-r--r--modules/channel_op.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py
index 71126b76..42f65305 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -20,6 +20,8 @@ KICK_REASON_SETTING = utils.Setting("default-kick-reason",
@utils.export("serverset", KICK_REASON_SETTING)
@utils.export("channelset", KICK_REASON_SETTING)
class Module(ModuleManager.BaseModule):
+ _name = "ChanOp"
+
def _parse_time(self, args, min_args):
if args[0][0] == "+":
if len(args[1:]) < min_args: