diff options
Diffstat (limited to 'rules/rspamd.classifiers.lua')
-rw-r--r-- | rules/rspamd.classifiers.lua | 6 |
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 |