aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-04-14 17:03:55 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-04-14 17:03:55 +0300
commitdd7b0ac9b6398e303a092bac67108204415a73cd (patch)
treea737f3d554024644bdfd120af7c6bb4220c9cb49 /src
parent2bf916f1dff4c6b734c54dc47ff76f6db82d6647 (diff)
downloadrspamd-dd7b0ac9b6398e303a092bac67108204415a73cd.tar.gz
rspamd-dd7b0ac9b6398e303a092bac67108204415a73cd.zip
[Minor] Use lua_util.unpack for compatibility with Lua 5.3
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/bayes_expiry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/bayes_expiry.lua b/src/plugins/lua/bayes_expiry.lua
index 96f5b5c1c..5c290ea66 100644
--- a/src/plugins/lua/bayes_expiry.lua
+++ b/src/plugins/lua/bayes_expiry.lua
@@ -279,7 +279,7 @@ local function expire_step(cls, ev_base, worker)
data[5]
}
logger.infox(rspamd_config, 'finished expiry %s%s: %s items checked, %s significant (%s %s), %s common (%s discriminated), %s infrequent (%s %s), %s mean, %s std',
- unpack(d))
+ lutil.unpack(d))
end
log_stat(false)
if cur == 0 then