]> git.donarmstrong.com Git - debbugs.git/commitdiff
spamc is in options now
authorDon Armstrong <don@donarmstrong.com>
Thu, 14 Dec 2017 22:53:47 +0000 (14:53 -0800)
committerDon Armstrong <don@donarmstrong.com>
Thu, 14 Dec 2017 22:53:47 +0000 (14:53 -0800)
bin/debbugs-spam

index 371fc572d8d3c99807d06b1f3e02f8ea8d6a8e23..83c49654dae9563d70955d1fd34da84293cc122f 100755 (executable)
@@ -197,8 +197,8 @@ sub score_bug {
     for my $bug_num (@{$argv}) {
         my @bug_score =
             spam_score_bug($bug_num,
-                           $opts->{spamc},
-                           $opts->{spamc_opts});
+                           $options->{spamc},
+                           $options->{spamc_opts});
         print "$_->{score} $_->{message_id} $_->{subject}\n"
             foreach @bug_score;
     }