aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-30 21:03:21 +0000
committerGravatar jesopo2019-01-30 21:03:21 +0000
commit98e1d4460ebd2139e859b6c0b454cad1d7ae146e (patch)
tree63407f644491e1654ae9f1aa4c96afd88fb09e43
parentSupport `kick` and `ban` command in private message (channel_op.py) (diff)
signature
Actually use `channel` arg in _kick_command (channel_op.py)
-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))