forgot to pass stdout
and stderr
to command callbacks!
This commit is contained in:
parent
fff4f89a50
commit
c9de95f44a
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue