]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Pet luacheck
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Jan 2021 15:46:45 +0000 (15:46 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Jan 2021 15:46:45 +0000 (15:46 +0000)
lualib/lua_content/vcard.lua

index 12379995414d22dc83829531dae475d3edb74883..91460a9d4ee5c4d540926c80b611417bfeb1f9ae 100644 (file)
@@ -36,13 +36,6 @@ end
 
 local exports = {}
 
-local function extract_text_data(specific)
-  local fun = require "fun"
-
-  local tbl = fun.totable(fun.map(function(e) return e[2]:lower() end, specific.elts))
-  return table.concat(tbl, '\n')
-end
-
 local function process_vcard(input, mpart, task)
   local control={n='\n', r=''}
   local rspamd_url = require "rspamd_url"