!kickban
's _ban
call needs an add
arg
This commit is contained in:
parent
fa279aab93
commit
07a593ce20
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
@utils.kwarg("usage", "[+time] <nickname> [reason]")
|
@utils.kwarg("usage", "[+time] <nickname> [reason]")
|
||||||
def kickban(self, event):
|
def kickban(self, event):
|
||||||
time, args = self._parse_time(event["args_split"], 1)
|
time, args = self._parse_time(event["args_split"], 1)
|
||||||
self._ban(event["server"], event["target"], args[0], False, time)
|
self._ban(event["server"], event["target"], args[0], False, time, True)
|
||||||
self._kick(event["server"], event["target"], args[0], args[1:])
|
self._kick(event["server"], event["target"], args[0], args[1:])
|
||||||
|
|
||||||
@utils.hook("received.command.op")
|
@utils.hook("received.command.op")
|
||||||
|
|
Loading…
Reference in a new issue