From 59fcbfaa87fc96c6f1f9ad7e37411445e5473ffc Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 21 Jan 2023 14:39:40 +0000 Subject: [PATCH] [Minor] Fix luacheck --- src/plugins/lua/phishing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua index 14eb8a0cc..d3ad83574 100644 --- a/src/plugins/lua/phishing.lua +++ b/src/plugins/lua/phishing.lua @@ -304,7 +304,7 @@ local function phishing_cb(task) if not sweight then sweight = weight end if #map > 0 then for _,rule in ipairs(map) do - local found,dn = is_url_in_map(rule.map, furl) + local found,_ = is_url_in_map(rule.map, furl) if found then task:insert_result(rule.symbol, sweight, ptld .. '->' .. tld) return true -- 2.39.5