'EventManager.EventError' -> 'utils.EventError' in modules/commands.py

This commit is contained in:
jesopo 2018-10-16 14:49:01 +01:00
parent ba3cd00c78
commit 42a1cda92c

View file

@ -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):