Actually use channel
arg in _kick_command (channel_op.py)
This commit is contained in:
parent
8345ea36d4
commit
98e1d4460e
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue