diff options
-rw-r--r-- | src/plugins/lua/reputation.lua | 2 |
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') |