"!alias show" should be looking at index 1
for alias
This commit is contained in:
parent
050bfd29f7
commit
714d40b79f
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
if not len(event["args_split"]) > 1:
|
if not len(event["args_split"]) > 1:
|
||||||
raise utils.EventError("Please provide an alias to remove")
|
raise utils.EventError("Please provide an alias to remove")
|
||||||
|
|
||||||
alias = event["args_split"][0].lower()
|
alias = event["args_split"][1].lower()
|
||||||
setting = target.get_setting("%s%s" % (SETTING_PREFIX, alias), None)
|
setting = target.get_setting("%s%s" % (SETTING_PREFIX, alias), None)
|
||||||
|
|
||||||
if setting == None:
|
if setting == None:
|
||||||
|
|
Loading…
Reference in a new issue