aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_maps.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-05-21 17:30:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-05-21 17:30:27 +0100
commit79e69412d0ca7cf644a946409b9673f8d5073023 (patch)
tree03c8a32e0059ed54dfa81bacadd958682d9cb41a /lualib/lua_maps.lua
parent9a26b96cf2dfb78cbd2c7c553cad363d320b1695 (diff)
downloadrspamd-79e69412d0ca7cf644a946409b9673f8d5073023.tar.gz
rspamd-79e69412d0ca7cf644a946409b9673f8d5073023.zip
[Feature] Use maps logic from lua_maps for multimap
Diffstat (limited to 'lualib/lua_maps.lua')
-rw-r--r--lualib/lua_maps.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lualib/lua_maps.lua b/lualib/lua_maps.lua
index 7cbd9ae0d..6b1a37590 100644
--- a/lualib/lua_maps.lua
+++ b/lualib/lua_maps.lua
@@ -57,7 +57,10 @@ local function maybe_adjust_type(data,mtype)
local known_types = {
{'regexp;', 'regexp'},
{'re;', 'regexp'},
+ {'regexp_multi;', 'regexp_multi'},
+ {'re_multi;', 'regexp_multi'},
{'glob;', 'glob'},
+ {'glob_multi;', 'glob_multi'},
{'radix;', 'radix'},
{'ipnet;', 'radix'},
{'set;', 'set'},