Skip to content

Commit

Permalink
Get the new user percent bonus working the right way around.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiemccarthy committed Oct 8, 2002
1 parent d4eb2fa commit 2af0591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slash/Slash.pm
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ sub selectComments {
# If you don't trust new users
if ($user->{new_user_bonus} && $user->{new_user_percent}) {
$C->{points} += $user->{new_user_bonus}
if ((($C->{uid}/$max_uid)*100) > $user->{new_user_percent});
if ((($C->{uid}/$max_uid)*100) > 100-$user->{new_user_percent});
}

# Adjust reasons. Do we need a reason?
Expand Down

0 comments on commit 2af0591

Please sign in to comment.