]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Replies module: fix symbol weight 1361/head
authorAndrew Lewis <nerf@judo.za.org>
Mon, 23 Jan 2017 07:19:08 +0000 (09:19 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 23 Jan 2017 07:19:08 +0000 (09:19 +0200)
src/plugins/lua/replies.lua

index d1cd23c608a51a459f286ae4222ef303f2aa7573..b9876290b82134a0fcccb3d65c9115778a53785d 100644 (file)
@@ -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