'EventManager.EventError' -> 'utils.EventError' in modules/commands.py
This commit is contained in:
parent
ba3cd00c78
commit
42a1cda92c
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue