From: Andrew Lewis Date: Thu, 20 Aug 2015 09:54:41 +0000 (+0200) Subject: Oops - remove braindamaged code X-Git-Tag: 1.0.0~186^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F346%2Fhead;p=thirdparty%2Frspamd.git Oops - remove braindamaged code --- diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua index 22c0c3cc10..afef48b69b 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())