show error on unknown !alias subcommand
This commit is contained in:
parent
84b77b5cb9
commit
cb111f0c93
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue