From: Vsevolod Stakhov Date: Tue, 12 Jan 2021 15:46:45 +0000 (+0000) Subject: [Minor] Pet luacheck X-Git-Tag: 3.0~768 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e39ed68f5f5e6488365bba844238e3e03b33017;p=thirdparty%2Frspamd.git [Minor] Pet luacheck --- diff --git a/lualib/lua_content/vcard.lua b/lualib/lua_content/vcard.lua index 1237999541..91460a9d4e 100644 --- a/lualib/lua_content/vcard.lua +++ b/lualib/lua_content/vcard.lua @@ -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"