From: Vsevolod Stakhov Date: Thu, 20 Sep 2018 13:32:23 +0000 (+0100) Subject: [Minor] Map type X-Git-Tag: 1.8.0~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7395c6df62a792a10b11624491ba2356ded9c303;p=rspamd.git [Minor] Map type --- diff --git a/lualib/lua_selectors.lua b/lualib/lua_selectors.lua index ad18feddf..d33f6f0c7 100644 --- a/lualib/lua_selectors.lua +++ b/lualib/lua_selectors.lua @@ -634,7 +634,7 @@ local function process_selector(task, sel) else lua_util.debugm(M, task, 'apply implicit map %s->string', pt) input = fun.map(function(list_elt) - local ret = implicit_tostring(etype, list_elt) + local ret = implicit_tostring(pt, list_elt) return ret end, input) etype = 'string_list'