From: Vsevolod Stakhov Date: Fri, 20 Jul 2018 17:19:03 +0000 (+0100) Subject: [Minor] Fix function arguments X-Git-Tag: 1.7.9~72 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4d6ccd8c06cee3cfe7fa7762060f31d58a8be992;p=rspamd.git [Minor] Fix function arguments --- 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