From ba1a60e8c390874d2fbb484c29d23524e945f934 Mon Sep 17 00:00:00 2001 From: WebSTUMP Date: Thu, 22 Nov 2012 15:06:34 +0000 Subject: [PATCH] webstump: do not alter the moderator's post disposition when it differs from the poster disposition. For a poster being banned, we can reject with any reason. For a poster being passlisted, bomb out with an internal error if the post decision wasn't approve (bad UI but it will do) --- webstump/scripts/webstump.lib.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webstump/scripts/webstump.lib.pl b/webstump/scripts/webstump.lib.pl index cafa469..9b7fc79 100644 --- a/webstump/scripts/webstump.lib.pl +++ b/webstump/scripts/webstump.lib.pl @@ -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 = ""; -- 2.30.2