Update a reference from buffer to target.buffer in modules/commands.py

This commit is contained in:
jesopo 2018-09-30 20:53:58 +01:00
parent a879125883
commit 1cbca6fb88

View file

@ -102,7 +102,7 @@ class Module(ModuleManager.BaseModule):
for returned in returns:
if returned:
stderr.write(returned).send()
buffer.skip_next()
target.buffer.skip_next()
return
args_split = event["message_split"][args_index:]
min_args = hook.kwargs.get("min_args")