aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/plugins
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2023-10-25 15:00:08 +0200
committerAndrew Lewis <nerf@judo.za.org>2023-10-25 15:00:08 +0200
commit5ef8dfff5dcff5e8922e5a2c8e41d7e381dbcd37 (patch)
treefc75a6ef2de5538786560df15bbef91b1b80670c /lualib/plugins
parent3d17d2d857bb2d719b6e32e1b85e81dd1431d5bd (diff)
downloadrspamd-5ef8dfff5dcff5e8922e5a2c8e41d7e381dbcd37.tar.gz
rspamd-5ef8dfff5dcff5e8922e5a2c8e41d7e381dbcd37.zip
[Feature] rbl: support globbed return codes
Diffstat (limited to 'lualib/plugins')
-rw-r--r--lualib/plugins/rbl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/plugins/rbl.lua b/lualib/plugins/rbl.lua
index 4eb7b987d..89304baa0 100644
--- a/lualib/plugins/rbl.lua
+++ b/lualib/plugins/rbl.lua
@@ -107,7 +107,7 @@ local rule_schema_tbl = {
ipv6 = ts.boolean:is_optional(),
is_whitelist = ts.boolean:is_optional(),
local_exclude_ip_map = ts.string:is_optional(),
- matcher = ts.one_of { "equality", "luapattern", "radix", "regexp" }:is_optional(),
+ matcher = ts.one_of { "equality", "glob", "luapattern", "radix", "regexp" }:is_optional(),
monitored_address = ts.string:is_optional(),
no_ip = ts.boolean:is_optional(),
process_script = ts.string:is_optional(),