From: Vsevolod Stakhov Date: Sun, 23 Sep 2018 14:12:46 +0000 (+0100) Subject: [Minor] Ops, reverse scoring logic X-Git-Tag: 1.8.0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f92e366ca9a4676493f43d22e13de68fa80ed48;p=thirdparty%2Frspamd.git [Minor] Ops, reverse scoring logic --- diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua index deca221cd5..5ebabc0104 100644 --- a/src/plugins/lua/phishing.lua +++ b/src/plugins/lua/phishing.lua @@ -145,9 +145,9 @@ local function phishing_cb(task) local function host_host_path_cb(_, _, results, err) if not err and results then if not query then - task:insert_result(phish_symbol, 0.3, results) - else task:insert_result(phish_symbol, 1.0, results) + else + task:insert_result(phish_symbol, 0.3, results) end end end