aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/phishing.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2015-08-20 11:54:41 +0200
committerAndrew Lewis <nerf@judo.za.org>2015-08-20 11:54:41 +0200
commit701a08e7e0f095f5a59a55acc48f6a0661067433 (patch)
tree7e1d2f9e392bb7183ee36c8b88152f649821d681 /src/plugins/lua/phishing.lua
parent4e8b22d80c606e764db91b4cab4083d07413e0f1 (diff)
downloadrspamd-701a08e7e0f095f5a59a55acc48f6a0661067433.tar.gz
rspamd-701a08e7e0f095f5a59a55acc48f6a0661067433.zip
Oops - remove braindamaged code
Diffstat (limited to 'src/plugins/lua/phishing.lua')
-rw-r--r--src/plugins/lua/phishing.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua
index 22c0c3cc1..afef48b69 100644
--- a/src/plugins/lua/phishing.lua
+++ b/src/plugins/lua/phishing.lua
@@ -56,12 +56,6 @@ local function phishing_cb(task)
if not found and table.maxn(strict_domains) > 0 then
local tld = purl:get_tld()
if tld then
- for _,rule in ipairs(redirector_domains) do
- if rule['map']:get_key(url:get_tld()) then
- task:insert_result(rule['symbol'], 1, purl:get_host())
- found = true
- end
- end
for _,rule in ipairs(strict_domains) do
if rule['map']:get_key(tld) then
task:insert_result(rule['symbol'], 1, purl:get_host())