forgot to pass stdout and stderr to command callbacks!

This commit is contained in:
jesopo 2019-06-16 09:51:45 +01:00
parent fff4f89a50
commit c9de95f44a

View file

@ -216,7 +216,8 @@ class Module(ModuleManager.BaseModule):
event_kwargs = {"hook": hook, "user": user, "server": server, event_kwargs = {"hook": hook, "user": user, "server": server,
"target": target, "is_channel": is_channel, "tags": tags, "target": target, "is_channel": is_channel, "tags": tags,
"args_split": args_split, "command": command, "args_split": args_split, "command": command,
"args": " ".join(args_split)} "args": " ".join(args_split), "stdout": stdout,
"stderr": stderr}
event_kwargs.update(kwargs) event_kwargs.update(kwargs)
check_assert = lambda check: self._check_assert(event_kwargs, check) check_assert = lambda check: self._check_assert(event_kwargs, check)