]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix luacheck
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 21 Jan 2023 14:39:40 +0000 (14:39 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 21 Jan 2023 14:39:40 +0000 (14:39 +0000)
src/plugins/lua/phishing.lua

index 14eb8a0cc01fe3ba005a53b968a2d6390ea1766d..d3ad835741096a3aaae4dce2dba7a63d835508fe 100644 (file)
@@ -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