aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-23 18:24:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-23 18:24:43 +0100
commit7bf0031790ef9c4d1bb8765745044d7bbeb874ea (patch)
tree1ced8a8397d4b52bd9942f0bc7cf958d57667293
parent099ed332ccc4ce1232986d07935eabcdae1548b4 (diff)
downloadrspamd-7bf0031790ef9c4d1bb8765745044d7bbeb874ea.tar.gz
rspamd-7bf0031790ef9c4d1bb8765745044d7bbeb874ea.zip
[Minor] Reputation: Fix script invocation
-rw-r--r--src/plugins/lua/reputation.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/reputation.lua b/src/plugins/lua/reputation.lua
index b378960e2..aa6697eab 100644
--- a/src/plugins/lua/reputation.lua
+++ b/src/plugins/lua/reputation.lua
@@ -956,7 +956,7 @@ local function reputation_redis_set_token(task, rule, token, sc, continuation_cb
{task = task, is_write = true},
redis_set_cb,
{key, tostring(os.time() * 1000),
- tonumber(sc),
+ tostring(sc),
tostring(rule.backend.config.expiry)})
if not ret then
rspamd_logger.errx(task, 'got error while connecting to redis')