From 07a593ce20f8741edb74ae4bf3b6b1d7cee0f679 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 14 Aug 2019 14:41:29 +0100 Subject: [PATCH] `!kickban`'s `_ban` call needs an `add` arg --- modules/channel_op.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/channel_op.py b/modules/channel_op.py index 719b0f50..589e71f5 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -102,7 +102,7 @@ class Module(ModuleManager.BaseModule): @utils.kwarg("usage", "[+time] [reason]") def kickban(self, event): 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:]) @utils.hook("received.command.op")