aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_content/vcard.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-12 15:46:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-12 15:46:45 +0000
commit9e39ed68f5f5e6488365bba844238e3e03b33017 (patch)
treeb1c88c2f64ced113336e5d8d7ff61776dbf8c9ea /lualib/lua_content/vcard.lua
parent093ad04f422ad28b6648324666db40e6ade38ac4 (diff)
downloadrspamd-9e39ed68f5f5e6488365bba844238e3e03b33017.tar.gz
rspamd-9e39ed68f5f5e6488365bba844238e3e03b33017.zip
[Minor] Pet luacheck
Diffstat (limited to 'lualib/lua_content/vcard.lua')
-rw-r--r--lualib/lua_content/vcard.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/lualib/lua_content/vcard.lua b/lualib/lua_content/vcard.lua
index 123799954..91460a9d4 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"