aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-27 11:28:38 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-27 16:54:45 +0100
commit9a2122307a5f776a03def8198da5045a0818bc94 (patch)
tree66c7820310b2d473fce397ef25560d5b16c05c45 /src
parent50466eddf26c21c999eb2065c49072e6012922a3 (diff)
downloadrspamd-9a2122307a5f776a03def8198da5045a0818bc94.tar.gz
rspamd-9a2122307a5f776a03def8198da5045a0818bc94.zip
[Minor] Maps: Export maps schema
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/rbl.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 00a35e1d7..e0439e93b 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -27,6 +27,7 @@ local lua_util = require 'lua_util'
local ts = require("tableshape").types
local selectors = require "lua_selectors"
local bit = require 'bit'
+local lua_maps = require "lua_maps"
-- This plugin implements various types of RBL checks
-- Documentation can be found here:
@@ -799,7 +800,7 @@ local default_options = {
opts = lua_util.override_defaults(default_options, opts)
if(opts['local_exclude_ip_map'] ~= nil) then
- local_exclusions = rspamd_map_add(N, 'local_exclude_ip_map', 'radix',
+ local_exclusions = lua_maps.map_add(N, 'local_exclude_ip_map', 'radix',
'RBL exclusions map')
end