aboutsummaryrefslogtreecommitdiffstats
path: root/rules/rspamd.classifiers.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-18 20:06:22 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-18 20:06:22 +0200
commite217a37d7621dc61673061f65ba057cd0d6978f9 (patch)
treeb4c82ab8c47145509355a512247aa1657af7f29e /rules/rspamd.classifiers.lua
parent5f028335acbd28cf6529cd64c733ae95f2873def (diff)
downloadrspamd-e217a37d7621dc61673061f65ba057cd0d6978f9.tar.gz
rspamd-e217a37d7621dc61673061f65ba057cd0d6978f9.zip
[Minor] Trim whitespace
Diffstat (limited to 'rules/rspamd.classifiers.lua')
-rw-r--r--rules/rspamd.classifiers.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/rspamd.classifiers.lua b/rules/rspamd.classifiers.lua
index 1212fd933..c65ffbb77 100644
--- a/rules/rspamd.classifiers.lua
+++ b/rules/rspamd.classifiers.lua
@@ -59,7 +59,7 @@ local function get_specific_statfiles(classifier, task)
fun.each(function(v) table.insert(spec_st,v) end, st_longsubj)
end
end
-
+
if #spec_st > 1 then
return spec_st
else
@@ -100,7 +100,7 @@ classifiers['bayes'] = function(classifier, task, is_learn)
if not st:get_label() then
local st_l = st:get_param('language')
if st_l and st_l == language then
- -- Insert statfile with specified language
+ -- Insert statfile with specified language
table.insert(selected, st)
end
end
@@ -124,7 +124,7 @@ classifiers['bayes'] = function(classifier, task, is_learn)
if #selected > 1 then
return selected
end
-
+
return nil
end