Actually use channel arg in _kick_command (channel_op.py)

This commit is contained in:
jesopo 2019-01-30 21:03:21 +00:00
parent 8345ea36d4
commit 98e1d4460e

View file

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