about summary refs log tree commit homepage
path: root/lib/PublicInbox/MDA.pm
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-20 19:50:03 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-20 19:52:30 +0000
commitbaae46ba22d283706dd821bea19aa9d985d0081d (patch)
tree27401e3e1afbcb0079e25f5e9c49864301d3e8eb /lib/PublicInbox/MDA.pm
parent70207d974c5a965ef849b58c27b63fd644b3293e (diff)
downloadpublic-inbox-baae46ba22d283706dd821bea19aa9d985d0081d.tar.gz
Reduce the places where we have duplicate logic for discarding
unwanted headers.
Diffstat (limited to 'lib/PublicInbox/MDA.pm')
-rw-r--r--lib/PublicInbox/MDA.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/MDA.pm b/lib/PublicInbox/MDA.pm
index d5af8f94..637404eb 100644
--- a/lib/PublicInbox/MDA.pm
+++ b/lib/PublicInbox/MDA.pm
@@ -81,8 +81,6 @@ sub set_list_headers {
                 $pa =~ tr/@/./; # RFC2919
                 $simple->header_set("List-Id", "<$pa>");
         }
-
-        $simple->header_set($_) foreach @BAD_HEADERS;
 }
 
 1;