From: Vsevolod Stakhov Date: Sat, 21 Jan 2023 14:39:40 +0000 (+0000) Subject: [Minor] Fix luacheck X-Git-Tag: 3.5~83 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=59fcbfaa87fc96c6f1f9ad7e37411445e5473ffc;p=thirdparty%2Frspamd.git [Minor] Fix luacheck --- diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua index 14eb8a0cc0..d3ad835741 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