diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-01-21 14:39:40 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-01-21 14:39:40 +0000 |
commit | 59fcbfaa87fc96c6f1f9ad7e37411445e5473ffc (patch) | |
tree | de19125b3dc2e698ecad8dcc86368d93bf3894ce /src/plugins | |
parent | 057df47a8d35a4cfd96fa23afe3f73ba6cbebd65 (diff) | |
download | rspamd-59fcbfaa87fc96c6f1f9ad7e37411445e5473ffc.tar.gz rspamd-59fcbfaa87fc96c6f1f9ad7e37411445e5473ffc.zip |
[Minor] Fix luacheck
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/phishing.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |