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))