commit 59fcbfa: [Minor] Fix luacheck
Vsevolod Stakhov
vsevolod at rspamd.com
Sat Jan 21 15:28:05 UTC 2023
Author: Vsevolod Stakhov
Date: 2023-01-21 14:39:40 +0000
URL: https://github.com/rspamd/rspamd/commit/59fcbfaa87fc96c6f1f9ad7e37411445e5473ffc
[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
More information about the Commits
mailing list