open( FILE, $file ) or die $!;
$addr = <FILE>;
- defined $addr or die $!
+ defined $addr or die $!;
chop $addr;
close( FILE );
$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" ) ) {
if $thread_decision eq "watch";
# Subject, newsgroup, ShortDirectoryName, decision, comment
- &process_approval_decision( $Subject, $newsgroup, $file, $decision, $comment );
+ &process_approval_decision( $Subject, $newsgroup, $file, $decision, $comment, "moderator \U$request{'moderator'}" );
}
}
} elsif( $action eq "change_password" ) {
&authenticate( $newsgroup, $moderator, $password );
&html_change_password;
+ } elsif( $action eq "search_logs" ) {
+ &authenticate( $newsgroup, $moderator, $password );
+ &html_search_logs;
} elsif( $action eq "validate_change_password" ) {
&authenticate( $newsgroup, $moderator, $password );
&validate_change_password;