aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-16 15:15:20 +0100
committerGravatar jesopo2018-10-16 15:15:20 +0100
commit547c57c8b8437fd161f6b42d79a70d2863b2af3e (patch)
tree38321256e188faa8af7879be20c21d6cd6332a98 /modules
parentall_coins is a dictionary, thus needs .items() to turn it in to `nickname, co... (diff)
signature
str(utils.EventError) should be written to stderr, not stdout
Diffstat (limited to 'modules')
-rw-r--r--modules/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands.py b/modules/commands.py
index 455ba49b..ff85586a 100644
--- a/modules/commands.py
+++ b/modules/commands.py
@@ -172,7 +172,7 @@ class Module(ModuleManager.BaseModule):
args_split=args_split, stdout=stdout, stderr=stderr,
command=command.lower(), is_channel=is_channel)
except utils.EventError as e:
- stdout.write(str(e))
+ stderr.write(str(e))
if not hook.kwargs.get("skip_out", False):
stdout.send()