diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-08-17 20:32:22 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-08-17 20:32:22 +0100 |
commit | 98dd452be0670c9d10f4d471c43f2c754266896b (patch) | |
tree | 13bfe02c022135f0de1f27fb79a54e829ab2deb7 /lualib/lua_selectors.lua | |
parent | 6fdf4b3304a6101ceca3b53ae56307cb9d7147ae (diff) | |
download | rspamd-98dd452be0670c9d10f4d471c43f2c754266896b.tar.gz rspamd-98dd452be0670c9d10f4d471c43f2c754266896b.zip |
[Minor] Fix vector invocation of elt transformer
Diffstat (limited to 'lualib/lua_selectors.lua')
-rw-r--r-- | lualib/lua_selectors.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lualib/lua_selectors.lua b/lualib/lua_selectors.lua index 960d15a24..4d0e7a2ec 100644 --- a/lualib/lua_selectors.lua +++ b/lualib/lua_selectors.lua @@ -332,8 +332,9 @@ local transform_function = { -- Extracts table value from key-value list ['elt'] = { ['types'] = { - ['kv_list'] = true, + ['kv'] = true, }, + ['map_type'] = 'string', ['process'] = function(inp, t, args) return inp[args[1]],'string' end |