chiark / gitweb /
webstump: use "reject blocklist" for the hardcoded blocklist-related rejection reason
authorWebSTUMP <webstump@chiark.greenend.org.uk>
Thu, 22 Nov 2012 14:53:43 +0000 (14:53 +0000)
committerWebSTUMP <webstump@chiark.greenend.org.uk>
Thu, 22 Nov 2012 14:53:43 +0000 (14:53 +0000)
webstump/scripts/filter.lib.pl
webstump/scripts/webstump.lib.pl

index a490c5a..3a41cb5 100644 (file)
@@ -93,7 +93,7 @@ sub review_incoming_message { # Newsgroup, From, Subject, RealSubject, Message,
   my $newsgroup = pop( @_ );
 
   if( &name_is_in_list( $from, "bad.posters.list" ) ) {
   my $newsgroup = pop( @_ );
 
   if( &name_is_in_list( $from, "bad.posters.list" ) ) {
-    &process_approval_decision( $subject, $newsgroup, $dir, "reject abuse", "", "auto bad poster" );
+    &process_approval_decision( $subject, $newsgroup, $dir, "reject blocklist", "", "auto bad poster" );
     return;
   }
 
     return;
   }
 
index 3e9e0ef..cafa469 100644 (file)
@@ -585,7 +585,7 @@ sub approval_decision {
       $decision = "reject thread" if $thread_decision eq "ban";
       $decision = "approve" if $thread_decision eq "preapprove";
 
       $decision = "reject thread" if $thread_decision eq "ban";
       $decision = "approve" if $thread_decision eq "preapprove";
 
-      $decision = "reject abuse" if $poster_decision eq "ban";
+      $decision = "reject blocklist" if $poster_decision eq "ban";
       $decision = "approve" if $poster_decision eq "preapprove";
 
       if( -r $fullpath && open( MESSAGE, "$fullpath" ) ) {
       $decision = "approve" if $poster_decision eq "preapprove";
 
       if( -r $fullpath && open( MESSAGE, "$fullpath" ) ) {