aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-20 17:12:32 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-20 17:12:32 +0400
commit8dc9f3bed874f0944c4120fd9ec0c65eff0b2359 (patch)
treebdaef3ae47bc17dd0a06e4b532ceb77d77d2de4b /src/plugins
parent8e67a34fc8f36d529c2efc140e5a9da523da5af4 (diff)
downloadrspamd-8dc9f3bed874f0944c4120fd9ec0c65eff0b2359.tar.gz
rspamd-8dc9f3bed874f0944c4120fd9ec0c65eff0b2359.zip
* Fix expanding spf macros that may fail in rare cases
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/whitelist.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/whitelist.lua b/src/plugins/lua/whitelist.lua
index 34867bd2f..b1cab1aa1 100644
--- a/src/plugins/lua/whitelist.lua
+++ b/src/plugins/lua/whitelist.lua
@@ -50,7 +50,7 @@ if opts then
end
if symbol_from then
if opts['from_whitelist'] then
- h = rspamd_config:add_host_map (opts['from_whitelist'])
+ h = rspamd_config:add_hash_map (opts['from_whitelist'])
else
-- No whitelist defined
symbol_from = nil