From 5f76f5aead54e03b8048a3d707a6acac3b599ec7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 15 May 2019 14:45:40 +0100 Subject: [PATCH] [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', -- 2.39.5