]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Map type
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 20 Sep 2018 13:32:23 +0000 (14:32 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 20 Sep 2018 13:32:35 +0000 (14:32 +0100)
lualib/lua_selectors.lua

index ad18feddfc5f69091911460f5a16249aa9e196e6..d33f6f0c727115c917edc118a59c0de59fd313f3 100644 (file)
@@ -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'