about summary refs log tree commit homepage
path: root/lib/PublicInbox/Filter/Vger.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-16 22:45:26 +0000
committerEric Wong <e@80x24.org>2016-06-17 00:21:53 +0000
commit160a6d5672fef64c174c8d79c07851eaadf6d0e6 (patch)
treedf5b96699d3e8082df5a9ba5e55db6705aff3b29 /lib/PublicInbox/Filter/Vger.pm
parent221d916965ccd55e0aa3e83819f8a05df1a5dcb6 (diff)
downloadpublic-inbox-160a6d5672fef64c174c8d79c07851eaadf6d0e6.tar.gz
We will scrub for importing archives, so ensure it is usable
outside of the delivery routine.
Diffstat (limited to 'lib/PublicInbox/Filter/Vger.pm')
-rw-r--r--lib/PublicInbox/Filter/Vger.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/PublicInbox/Filter/Vger.pm b/lib/PublicInbox/Filter/Vger.pm
index 9498081a..2ffed184 100644
--- a/lib/PublicInbox/Filter/Vger.pm
+++ b/lib/PublicInbox/Filter/Vger.pm
@@ -17,7 +17,7 @@ my $l3 =
 # only LKML had this, and LKML nowadays has no list trailer since Jan 2016
 my $l4 = qr!Please read the FAQ at +http://www\.tux\.org/lkml/!;
 
-sub delivery {
+sub scrub {
         my ($self, $mime) = @_;
         my $s = $mime->as_string;
 
@@ -30,4 +30,9 @@ sub delivery {
         $self->ACCEPT($mime);
 }
 
+sub delivery {
+        my ($self, $mime) = @_;
+        $self->scrub($mime);
+}
+
 1;