diff options
Diffstat (limited to 'conf/lua/rspamd.classifiers.lua')
-rw-r--r-- | conf/lua/rspamd.classifiers.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/lua/rspamd.classifiers.lua b/conf/lua/rspamd.classifiers.lua index de1e23506..d73d08178 100644 --- a/conf/lua/rspamd.classifiers.lua +++ b/conf/lua/rspamd.classifiers.lua @@ -14,7 +14,7 @@ local function get_specific_statfiles(classifier, task) -- More 5 recipients local st_many = classifier:get_statfile_by_label(many_recipients_label) if st_many then - rcpt = task:get_recipients() + rcpt = task:get_recipients(2) if rcpt and table.maxn(rcpt) > 5 then print(table.maxn(rcpt)) table.foreach(st_many, function(i,v) table.insert(spec_st,v) end) @@ -23,7 +23,7 @@ local function get_specific_statfiles(classifier, task) -- Undisclosed local st_undisc = classifier:get_statfile_by_label(undisclosed_recipients_label) if st_undisc then - rcpt = task:get_recipients() + rcpt = task:get_recipients(2) if rcpt and table.maxn(rcpt) == 0 then table.foreach(st_undisc, function(i,v) table.insert(spec_st,v) end) end |