From: Vsevolod Stakhov Date: Thu, 24 Nov 2016 11:42:39 +0000 (+0000) Subject: [Fix] Properly get options for ip_score module X-Git-Tag: 1.4.1~82 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e8736ad3af56d9e8087e768d49b960c351732b9e;p=thirdparty%2Frspamd.git [Fix] Properly get options for ip_score module --- diff --git a/src/plugins/lua/ip_score.lua b/src/plugins/lua/ip_score.lua index b894cfbe00..e352bdafff 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']