From 4d6ccd8c06cee3cfe7fa7762060f31d58a8be992 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 20 Jul 2018 18:19:03 +0100 Subject: [PATCH] [Minor] Fix function arguments --- src/plugins/lua/reputation.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/reputation.lua b/src/plugins/lua/reputation.lua index 536710f13..3f21b8030 100644 --- a/src/plugins/lua/reputation.lua +++ b/src/plugins/lua/reputation.lua @@ -561,7 +561,7 @@ local function spf_reputation_filter(task, rule) local function tokens_cb(err, token, values) if values then - local score = generic_reputation_calc(token, rule, values) + local score = generic_reputation_calc(values, rule, 1.0) if math.abs(score) > 1e-3 then -- TODO: add description -- 2.39.5