diff options
| author | 2019-06-16 09:51:45 +0100 | |
|---|---|---|
| committer | 2019-06-16 09:51:45 +0100 | |
| commit | c9de95f44aa3ee3dce89f5c5368a50ccbd724e85 (patch) | |
| tree | b5c7f12ebaf94a28f6a520156c265a6197d13540 | |
| parent | Update CHANGELOG.md (diff) | |
| signature | ||
forgot to pass `stdout` and `stderr` to command callbacks!
| -rw-r--r-- | modules/commands/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index fa470576..9cc1c8fe 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -216,7 +216,8 @@ class Module(ModuleManager.BaseModule): event_kwargs = {"hook": hook, "user": user, "server": server, "target": target, "is_channel": is_channel, "tags": tags, "args_split": args_split, "command": command, - "args": " ".join(args_split)} + "args": " ".join(args_split), "stdout": stdout, + "stderr": stderr} event_kwargs.update(kwargs) check_assert = lambda check: self._check_assert(event_kwargs, check) |
