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 cafa469..9b7fc79 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 = "";