set channel_op.py _name to ChanOp
This commit is contained in:
parent
f1dfbd112f
commit
6e571fbe1a
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue