set channel_op.py _name to ChanOp

This commit is contained in:
jesopo 2019-08-14 15:08:17 +01:00
parent f1dfbd112f
commit 6e571fbe1a

View file

@ -20,6 +20,8 @@ KICK_REASON_SETTING = utils.Setting("default-kick-reason",
@utils.export("serverset", KICK_REASON_SETTING) @utils.export("serverset", KICK_REASON_SETTING)
@utils.export("channelset", KICK_REASON_SETTING) @utils.export("channelset", KICK_REASON_SETTING)
class Module(ModuleManager.BaseModule): class Module(ModuleManager.BaseModule):
_name = "ChanOp"
def _parse_time(self, args, min_args): def _parse_time(self, args, min_args):
if args[0][0] == "+": if args[0][0] == "+":
if len(args[1:]) < min_args: if len(args[1:]) < min_args: