Typo in modules/rest_api.py, 'args_spit' -> 'args_split'
This commit is contained in:
parent
161272daf5
commit
911ace524d
1 changed files with 1 additions and 1 deletions
|
@ -120,6 +120,6 @@ class Module(ModuleManager.BaseModule):
|
||||||
comment = event["args_split"][0]
|
comment = event["args_split"][0]
|
||||||
self.bot.set_setting("api-key-%s" % api_key, {
|
self.bot.set_setting("api-key-%s" % api_key, {
|
||||||
"comment": comment,
|
"comment": comment,
|
||||||
"permissions": event["args_spit"][1:]
|
"permissions": event["args_split"][1:]
|
||||||
})
|
})
|
||||||
event["stdout"].write("New API key ('%s'): %s" % (comment, api_key))
|
event["stdout"].write("New API key ('%s'): %s" % (comment, api_key))
|
||||||
|
|
Loading…
Reference in a new issue