aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/maillist.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/maillist.lua')
-rw-r--r--src/plugins/lua/maillist.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/lua/maillist.lua b/src/plugins/lua/maillist.lua
index 2ec0c4255..846e92991 100644
--- a/src/plugins/lua/maillist.lua
+++ b/src/plugins/lua/maillist.lua
@@ -85,7 +85,8 @@ 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, '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
@@ -202,7 +203,8 @@ end
-- And nothing more can be extracted :(
local function check_ml_majordomo(task)
local header = task:get_header('Sender')
- if not header or (not string.find(header, '^owner-.*$') and not string.find(header, '^.*-owner@.*$')) then
+ if not header or
+ (not string.find(header, '^owner-.*$') and not string.find(header, '^.*-owner@.*$')) then
return false
end