diff --git a/modules/aliases.py b/modules/aliases.py index 0c407c1d..0a70c792 100644 --- a/modules/aliases.py +++ b/modules/aliases.py @@ -112,3 +112,6 @@ class Module(ModuleManager.BaseModule): target.del_setting(setting) event["stdout"].write("Removed '%s' alias" % alias) + + else: + raise utils.EventError("Unknown subcommand '%s'" % subcommand)