diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-03-29 12:36:16 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-03-29 12:36:16 +0200 |
commit | d35601b669b82ade6f3423709dcd3a568a83848b (patch) | |
tree | 6c3c39f832dc49b7b80174a78408e1ef928a0fd4 /src/plugins | |
parent | aae8be4c65669d6f3a5ac5825d696d5a4ac6dbad (diff) | |
download | rspamd-d35601b669b82ade6f3423709dcd3a568a83848b.tar.gz rspamd-d35601b669b82ade6f3423709dcd3a568a83848b.zip |
[Fix] Fix ip_score map configuration
- Issue: #1563
- Reported by: @Dmitry55
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/ip_score.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/lua/ip_score.lua b/src/plugins/lua/ip_score.lua index 04f1fb06e..4d9573382 100644 --- a/src/plugins/lua/ip_score.lua +++ b/src/plugins/lua/ip_score.lua @@ -353,10 +353,10 @@ local configure_ip_score_module = function() rspamd_logger.infox(rspamd_config, 'no servers are specified') return end - whitelist = rspamd_map_add('ip_score', 'asn_cc_whitelist', 'map', - 'IP score whitelisted ips') - asn_cc_whitelist = rspamd_map_add('ip_score', 'whitelist', 'radix', + asn_cc_whitelist = rspamd_map_add('ip_score', 'asn_cc_whitelist', 'map', 'IP score whitelisted ASNs/countries') + whitelist = rspamd_map_add('ip_score', 'whitelist', 'radix', + 'IP score whitelisted ips') return true end |