diff options
Diffstat (limited to 'src/plugins/lua/once_received.lua')
-rw-r--r-- | src/plugins/lua/once_received.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/once_received.lua b/src/plugins/lua/once_received.lua index 8c7ed0777..65e6127c9 100644 --- a/src/plugins/lua/once_received.lua +++ b/src/plugins/lua/once_received.lua @@ -177,7 +177,8 @@ if opts then good_hosts = v end elseif n == 'whitelist' then - whitelist = rspamd_config:add_radix_map (v, 'once received whitelist') + whitelist = rspamd_map_add('once_received', 'whitelist', 'radix', + 'once received whitelist') end end |