diff options
Diffstat (limited to 'src/plugins/lua/spamassassin.lua')
-rw-r--r-- | src/plugins/lua/spamassassin.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua index 69a3d1f78..8ab37cf7e 100644 --- a/src/plugins/lua/spamassassin.lua +++ b/src/plugins/lua/spamassassin.lua @@ -330,7 +330,8 @@ local function gen_eval_rule(arg) { 'check_for_missing_to_header', function (task, remain) - if not task:get_recipients('mime') then + local th = task:get_recipients('mime') + if not th or #th == 0 then return 1 end |