chiark / gitweb /
webstump: do not alter the moderator's post disposition when it differs from the...
authorWebSTUMP <webstump@chiark.greenend.org.uk>
Thu, 22 Nov 2012 15:06:34 +0000 (15:06 +0000)
committerWebSTUMP <webstump@chiark.greenend.org.uk>
Thu, 22 Nov 2012 15:06:34 +0000 (15:06 +0000)
webstump/scripts/webstump.lib.pl

index cafa469a32da835db9a5557db12af9c19f557339..9b7fc794acb9242edb238313533b9c1fc5b319e7 100644 (file)
@@ -585,8 +585,8 @@ sub approval_decision {
       $decision = "reject thread" if $thread_decision eq "ban";
       $decision = "approve" if $thread_decision eq "preapprove";
 
-      $decision = "reject blocklist" if $poster_decision eq "ban";
-      $decision = "approve" if $poster_decision eq "preapprove";
+      #$decision = "reject blocklist" if $poster_decision eq "ban";
+      die if $decision ne "approve" and $poster_decision eq "preapprove";
 
       if( -r $fullpath && open( MESSAGE, "$fullpath" ) ) {
         my $RealSubject = "", $From = "", $Subject = "";