aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_selectors
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-07-28 12:00:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-07-28 12:00:05 +0100
commit0b24fc6c10f2c4a9d5a684a67f06f3df2cd5a7f0 (patch)
tree70f49661cfa8d299bfcf0ae85436fd7daef60643 /lualib/lua_selectors
parent7ff4d6429bf3ddcc2ee7297f6a6341ec08670455 (diff)
downloadrspamd-0b24fc6c10f2c4a9d5a684a67f06f3df2cd5a7f0.tar.gz
rspamd-0b24fc6c10f2c4a9d5a684a67f06f3df2cd5a7f0.zip
[Minor] Fix rspamd_text in selectors combinators
Diffstat (limited to 'lualib/lua_selectors')
-rw-r--r--lualib/lua_selectors/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_selectors/init.lua b/lualib/lua_selectors/init.lua
index 1d49f4e5d..62070a114 100644
--- a/lualib/lua_selectors/init.lua
+++ b/lualib/lua_selectors/init.lua
@@ -493,7 +493,7 @@ exports.combine_selectors = function(_, selectors, delimiter)
rawset(tbl, i, fun.duplicate(tostring(s)))
else
-- Raw table
- rawset(tbl, i, s)
+ rawset(tbl, i, fun.map(tostring, s))
end
end