aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-12 22:20:46 +0000
committerGravatar jesopo2018-11-12 22:20:46 +0000
commit911ace524d649fce4d6f73efe1fdf0f97faec8ab (patch)
treec193b2884d4c86bcb045cd469955064bc597b42d
parentBetter denote variable-length "endpoint" arg in !apikey's usage (diff)
signature
Typo in modules/rest_api.py, 'args_spit' -> 'args_split'
-rw-r--r--modules/rest_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest_api.py b/modules/rest_api.py
index 4a94174b..2ef4661e 100644
--- a/modules/rest_api.py
+++ b/modules/rest_api.py
@@ -120,6 +120,6 @@ class Module(ModuleManager.BaseModule):
comment = event["args_split"][0]
self.bot.set_setting("api-key-%s" % api_key, {
"comment": comment,
- "permissions": event["args_spit"][1:]
+ "permissions": event["args_split"][1:]
})
event["stdout"].write("New API key ('%s'): %s" % (comment, api_key))