aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-03-29 12:36:16 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-03-29 12:36:16 +0200
commitd35601b669b82ade6f3423709dcd3a568a83848b (patch)
tree6c3c39f832dc49b7b80174a78408e1ef928a0fd4 /src/plugins
parentaae8be4c65669d6f3a5ac5825d696d5a4ac6dbad (diff)
downloadrspamd-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.lua6
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