commit 2dfc078: [Minor] Per luacheck when I'm here

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Nov 18 11:49:05 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-11-18 11:48:45 +0000
URL: https://github.com/rspamd/rspamd/commit/2dfc078e1ef086c205c715254087b20c6755840a (HEAD -> master)

[Minor] Per luacheck when I'm here

---
 src/plugins/lua/neural.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua
index 36eb9adaf..43b4af45d 100644
--- a/src/plugins/lua/neural.lua
+++ b/src/plugins/lua/neural.lua
@@ -120,7 +120,7 @@ local function ann_scores_filter(task)
 
       if score > 0 then
         local result = score
-        
+
         -- If spam_score_threshold is defined, override all other thresholds.
         local spam_threshold = 0
         if rule.spam_score_threshold then
@@ -506,7 +506,7 @@ local function load_new_ann(rule, ev_base, set, profile, min_diff)
             assert(ok, parse_err)
             local roc_thresholds = parser:get_object()
             set.ann.roc_thresholds = roc_thresholds
-            rspamd_logger.infox(rspamd_config, 
+            rspamd_logger.infox(rspamd_config,
                                 'loaded ROC thresholds for %s:%s; version=%s',
                                 rule.prefix, set.name, profile.version)
             rspamd_logger.debugx("ROC thresholds: %s", roc_thresholds)


More information about the Commits mailing list