From: Vsevolod Stakhov Date: Mon, 13 Feb 2017 16:16:03 +0000 (+0000) Subject: [Minor] Fix lint X-Git-Tag: 1.5.0~108 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=140fa526f13846bf4fdd2302d70fe5bd4e6f19c9;p=rspamd.git [Minor] Fix lint --- diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua index 8a56903d7..ebd37ef0c 100644 --- a/src/plugins/lua/phishing.lua +++ b/src/plugins/lua/phishing.lua @@ -131,8 +131,8 @@ local function phishing_cb(task) end -- Now we can safely remove the last dot component if it is the same - local b,e = string.find(tld, '%.[^%.]+$') - local b1,e1 = string.find(ptld, '%.[^%.]+$') + local b,_ = string.find(tld, '%.[^%.]+$') + local b1,_ = string.find(ptld, '%.[^%.]+$') if b1 and b then if string.sub(tld, b) == string.sub(ptld, b1) then