From 98e1d4460ebd2139e859b6c0b454cad1d7ae146e Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 30 Jan 2019 21:03:21 +0000 Subject: [PATCH] Actually use `channel` arg in _kick_command (channel_op.py) --- 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 fb5b107b..adcf2c80 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -37,7 +37,7 @@ class Module(ModuleManager.BaseModule): reason = " ".join(args_split[1:]) or None try: - self._kick(event["server"], event["target"], target, reason) + self._kick(event["server"], channel, target, reason) except UserNotFoundException: event["stderr"].write(str(e))