From: Andrew Lewis Date: Mon, 23 Jan 2017 07:19:08 +0000 (+0200) Subject: [Fix] Replies module: fix symbol weight X-Git-Tag: 1.5.0~285^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1361%2Fhead;p=thirdparty%2Frspamd.git [Fix] Replies module: fix symbol weight --- diff --git a/src/plugins/lua/replies.lua b/src/plugins/lua/replies.lua index d1cd23c608..b9876290b8 100644 --- a/src/plugins/lua/replies.lua +++ b/src/plugins/lua/replies.lua @@ -46,7 +46,7 @@ local function replies_check(task) end if data == '1' then -- Hash was found - task:insert_result(settings['symbol'], 0.0) + task:insert_result(settings['symbol'], 1.0) if settings['action'] ~= nil then local ip_addr = task:get_ip() if task:get_user() or (ip_addr and ip_addr:is_local()) then