about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rwxr-xr-xscript/public-inbox-learn2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-learn b/script/public-inbox-learn
index 75294a0a..5041d82b 100755
--- a/script/public-inbox-learn
+++ b/script/public-inbox-learn
@@ -58,7 +58,7 @@ if ($train eq 'spam') {
                 my $name = $ibx->{name};
                 my $addr = $ibx->{-primary_address};
                 my $im = PublicInbox::Import->new($git, $name, $addr, $ibx);
-                $im->remove($mime);
+                $im->remove($mime, 'spam');
                 $im->done;
         });
 }