aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/channel_op.py2
1 files changed, 1 insertions, 1 deletions
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))