aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-12-17 20:14:52 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-12-17 20:14:52 +0000
commitd2c7100dfcb89589969fdcf01d06d1d8dec2e816 (patch)
treecbab7c0c1d61bf06c623682f6c6e50b4b860f1fd /src
parentf5310feebd6b98b701301b0b331c6037075985e9 (diff)
downloadrspamd-d2c7100dfcb89589969fdcf01d06d1d8dec2e816.tar.gz
rspamd-d2c7100dfcb89589969fdcf01d06d1d8dec2e816.zip
[Minor] Fix spelling
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/rbl.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 7336ce380..75af371bc 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -1201,11 +1201,12 @@ if(opts['local_exclude_ip_map'] ~= nil) then
'RBL exclusions map')
end
--- TODO: this code should be universal for all modules that use selectors to allows
--- maps attachment to a specific module
+-- TODO: this code should be universal for all modules that use selectors to allow
+-- maps usage from selectors registered for a specific module
if type(opts.attached_maps) == 'table' then
opts.attached_maps_processed = {}
for i,map in ipairs(opts.attached_maps) do
+ -- Store maps in the configuration table to keep lifetime track
opts.attached_maps_processed[i] = lua_maps.map_add_from_ucl(map)
if opts.attached_maps_processed[i] == nil then
rspamd_logger.warnx(rspamd_config, "cannot parse attached map: %s", map)