From: Andrew Lewis Date: Mon, 23 Jan 2017 07:19:08 +0000 (+0200) Subject: [Fix] Replies module: fix symbol weight X-Git-Tag: 1.4.4~5^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1362%2Fhead;p=rspamd.git [Fix] Replies module: fix symbol weight --- diff --git a/src/plugins/lua/replies.lua b/src/plugins/lua/replies.lua index d1cd23c60..b9876290b 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