commit 5f76f5a: [Minor] Try use math.tanh if available
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed May 15 14:14:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-05-15 14:45:40 +0100
URL: https://github.com/rspamd/rspamd/commit/5f76f5aead54e03b8048a3d707a6acac3b599ec7
[Minor] Try use math.tanh if available
---
.luacheckrc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.luacheckrc b/.luacheckrc
index c2212c23a..871aa4811 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -52,6 +52,9 @@ files['/**/src/plugins/lua/spamassassin.lua'].globals = {
files['/**/src/plugins/lua/greylist.lua'].globals = {
'math.ifloor',
}
+files['/**/src/plugins/lua/reputation.lua'].globals = {
+ 'math.tanh',
+}
files['/**/lualib/lua_util.lua'].globals = {
'table.unpack',
More information about the Commits
mailing list