From e8736ad3af56d9e8087e768d49b960c351732b9e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 24 Nov 2016 11:42:39 +0000 Subject: [PATCH] [Fix] Properly get options for ip_score module --- src/plugins/lua/ip_score.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/ip_score.lua b/src/plugins/lua/ip_score.lua index b894cfbe0..e352bdaff 100644 --- a/src/plugins/lua/ip_score.lua +++ b/src/plugins/lua/ip_score.lua @@ -327,7 +327,7 @@ end -- Configuration options local configure_ip_score_module = function() - local opts = rspamd_config:get_all_opt('options') + local opts = rspamd_config:get_all_opt('ip_score') if opts and type(opts) ~= 'table' then if type(opts['check_authed']) == 'boolean' then check_authed = opts['check_authed'] -- 2.39.5