summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-18 11:48:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-18 11:48:45 +0000
commit2dfc078e1ef086c205c715254087b20c6755840a (patch)
treec238120887d3b61e7626afb4bffc06c758800fcd /src/plugins
parent7b5d0291784f4c372dd29dd4730bbccad6620120 (diff)
downloadrspamd-2dfc078e1ef086c205c715254087b20c6755840a.tar.gz
rspamd-2dfc078e1ef086c205c715254087b20c6755840a.zip
[Minor] Per luacheck when I'm here
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/neural.lua4
1 files 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)