want a minimum of 10 subs per user

This commit is contained in:
Evan Prodromou 2009-07-27 13:26:53 -04:00
parent 037c35152e
commit ff7f6ea583
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ function main($usercount, $noticeavg, $subsavg, $tagmax)
$usercount = (have_option('u', 'users')) ? get_option_value('u', 'users') : 100;
$noticeavg = (have_option('n', 'notices')) ? get_option_value('n', 'notices') : 100;
$subsavg = (have_option('b', 'subscriptions')) ? get_option_value('b', 'subscriptions') : min($usercount/20, 10);
$subsavg = (have_option('b', 'subscriptions')) ? get_option_value('b', 'subscriptions') : max($usercount/20, 10);
$tagmax = (have_option('t', 'tags')) ? get_option_value('t', 'tags') : 10000;
$userprefix = (have_option('x', 'prefix')) ? get_option_value('x', 'prefix') : 'testuser';