From 708b461cc825778d68da39653d6180d15a978d45 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 13 Mar 2022 15:44:22 +0000 Subject: [Minor] Fix use of task:get_symbol --- lualib/lua_dkim_tools.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lualib') diff --git a/lualib/lua_dkim_tools.lua b/lualib/lua_dkim_tools.lua index 06ab819f8..777789dc6 100644 --- a/lualib/lua_dkim_tools.lua +++ b/lualib/lua_dkim_tools.lua @@ -29,7 +29,7 @@ local function check_violation(N, task, domain) if N == 'arc' then sym_check = 'ARC_REJECT' end if task:has_symbol(sym_check) then - local sym = task:get_symbol(sym_check) + local sym = task:get_symbol(sym_check)[1] logger.infox(task, 'skip signing for %s: violation %s found: %s', domain, sym_check, sym.options) return false -- cgit v1.2.3