From 21f431a55c2e82e7e97243ca3432bce2635650d4 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 3 Sep 2014 18:49:13 +0100 Subject: [PATCH] Fix maillist. --- src/plugins/lua/maillist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/maillist.lua b/src/plugins/lua/maillist.lua index d265e15182..76d1d1cb8e 100644 --- a/src/plugins/lua/maillist.lua +++ b/src/plugins/lua/maillist.lua @@ -65,7 +65,7 @@ local function check_ml_mailman(task) -- For reminders we have other headers than for normal messages header = task:get_header('x-list-administrivia') local subject = task:get_header('subject') - if (header and string.find(header, 'yes')) or (subject and string.find(subject[1], 'mailing list memberships reminder$')) then + if (header and string.find(header, 'yes')) or (subject and string.find(subject, 'mailing list memberships reminder$')) then if not task:get_header('errors-to') or not task:get_header('x-beenthere') then return false end -- 2.47.3