From c9de95f44aa3ee3dce89f5c5368a50ccbd724e85 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 16 Jun 2019 09:51:45 +0100 Subject: [PATCH] forgot to pass `stdout` and `stderr` to command callbacks! --- modules/commands/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)