Permalink
Browse files

Impose AC posting restrictions for users using postanon

  • Loading branch information...
1 parent 6b807ae commit 841d1647923c23645a169a9ec5df22c9d17cd430 @tvroom tvroom committed Jun 1, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 themes/slashcode/htdocs/comments.pl
@@ -556,7 +556,7 @@ sub validateComment {
my $min_cid_1_day_old = $slashdb->getVar('min_cid_last_1_days','value', 1) || 0;
- if ($user->{is_anon} && $constants->{comments_perday_anon}
+ if (($user->{is_anon} || $form->{postanon}) && $constants->{comments_perday_anon}
&& !$user->{is_admin}) {
my($num_comm, $sum_mods) = $reader->getNumCommPostedAnonByIPID(
$user->{ipid}, 24, $min_cid_1_day_old);

0 comments on commit 841d164

Please sign in to comment.