]> Sergey Matveev's repositories - public-inbox.git/blobdiff - script/public-inbox-learn
learn: fix buggy typo on List-ID mapping
[public-inbox.git] / script / public-inbox-learn
index a33d813ad01eb389ff5f184f4f98ed6497fba90f..0cb2c8e96e56e706b1e5f158003fa351cf9acc0d 100644 (file)
@@ -97,7 +97,7 @@ if ($train eq 'spam') {
        }
        my $dests = PublicInbox::MDA->inboxes_for_list_id($pi_config, $mime);
        for my $ibx (@$dests) {
-               next if !$seen{"$ibx"}++;
+               next if $seen{"$ibx"}++;
                remove_or_add($ibx, $train, $mime, $ibx->{-primary_address});
        }
 }