diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-13 16:16:03 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-13 16:16:03 +0000 |
commit | 140fa526f13846bf4fdd2302d70fe5bd4e6f19c9 (patch) | |
tree | de1d2df11fef37c259de99e5434a0c77ac56260f | |
parent | 413f74a3577cfe252ed6082f19662d94ffa43549 (diff) | |
download | rspamd-140fa526f13846bf4fdd2302d70fe5bd4e6f19c9.tar.gz rspamd-140fa526f13846bf4fdd2302d70fe5bd4e6f19c9.zip |
[Minor] Fix lint
-rw-r--r-- | src/plugins/lua/phishing.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |