From 50d1eb6b8c8d4333fc50695521054443bc191cc0 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 7 Oct 2019 12:46:52 +0100 Subject: combine find_setting() and find_setting_prefix() on user/channel/server/bot --- modules/rest_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/rest_api.py') diff --git a/modules/rest_api.py b/modules/rest_api.py index a1fb66bf..abf947e9 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -203,7 +203,7 @@ class Module(ModuleManager.BaseModule): alias_lower = alias.lower() api_keys = {} - for key, value in self.bot.find_settings_prefix("api-key-"): + for key, value in self.bot.find_settings(prefix="api-key-"): api_keys[key] = value if alias and value["comment"].lower() == alias_lower: alias = value["comment"] -- cgit v1.3.1-10-gc9f91