From 42a1cda92c82ff3cb399920401e74cb01969ab4d Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 16 Oct 2018 14:49:01 +0100 Subject: [PATCH] 'EventManager.EventError' -> 'utils.EventError' in modules/commands.py --- modules/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):