aboutsummaryrefslogtreecommitdiff
path: root/modules/commands.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-16 14:49:01 +0100
committerGravatar jesopo2018-10-16 14:49:01 +0100
commit42a1cda92c82ff3cb399920401e74cb01969ab4d (patch)
tree0ae56818477e5c896db5cb5576c170c3c921d580 /modules/commands.py
parentAdd utils.EventError, utilise it for stderr in commands.py/coins.py (diff)
signature
'EventManager.EventError' -> 'utils.EventError' in modules/commands.py
Diffstat (limited to 'modules/commands.py')
-rw-r--r--modules/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands.py b/modules/commands.py
index 66fc6202..455ba49b 100644
--- a/modules/commands.py
+++ b/modules/commands.py
@@ -171,7 +171,7 @@ class Module(ModuleManager.BaseModule):
target=target, args=args, tags=event["tags"],
args_split=args_split, stdout=stdout, stderr=stderr,
command=command.lower(), is_channel=is_channel)
- except EventManager.EventError as e:
+ except utils.EventError as e:
stdout.write(str(e))
if not hook.kwargs.get("skip_out", False):