aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-01-23 09:19:08 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-01-23 09:25:08 +0200
commit520b1fb8b71464f0b5a29ba131c16d9bf89ad379 (patch)
treeeaa96f1304dedbb736ecde0c1da3a68c7a36e2aa
parent4c908ce3315fda94deb307e96bf73dea331aab71 (diff)
downloadrspamd-520b1fb8b71464f0b5a29ba131c16d9bf89ad379.tar.gz
rspamd-520b1fb8b71464f0b5a29ba131c16d9bf89ad379.zip
[Fix] Replies module: fix symbol weight
-rw-r--r--src/plugins/lua/replies.lua2
1 files changed, 1 insertions, 1 deletions
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