]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Properly get options for ip_score module
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 24 Nov 2016 11:42:39 +0000 (11:42 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 24 Nov 2016 11:42:39 +0000 (11:42 +0000)
src/plugins/lua/ip_score.lua

index b894cfbe00ed440a6de62830609cfd9472f3dfa5..e352bdafff8e8aff0813279c638c7c25dfd8d83d 100644 (file)
@@ -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']