diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-24 11:42:39 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-24 11:42:39 +0000 |
commit | e8736ad3af56d9e8087e768d49b960c351732b9e (patch) | |
tree | 722baea8e0765a66306fe49b8724bf758b05c8e9 /src | |
parent | cdda78c52ff17e448c65303ab341ff64ba53358b (diff) | |
download | rspamd-e8736ad3af56d9e8087e768d49b960c351732b9e.tar.gz rspamd-e8736ad3af56d9e8087e768d49b960c351732b9e.zip |
[Fix] Properly get options for ip_score module
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/ip_score.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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'] |