(update_wantmin, update_policy_check, demand_check, upda): Remove the

ability to switch off demand updates by setting update_wantmin to
zero.  Setting update_demandpolicy to UDDEM_DISABLE does the job.

(update_policy_check): Fix lower bound for blitz_time.
This commit is contained in:
Markus Armbruster 2006-02-24 19:02:01 +00:00
parent 198fad473e
commit 7457fef9e7
3 changed files with 6 additions and 16 deletions

View file

@ -30,7 +30,6 @@
* Known contributors to this file:
* Ken Stevens, 1995
* Steve McClure, 1996
*
*/
#include <config.h>
@ -57,7 +56,7 @@ char *update_times = ""; /* update times for policy UDP_TIMES */
int update_policy = UDP_DEFAULT; /* update policy for regular updates */
int update_demandpolicy = UDDEM_DEFAULT; /* update policy for demand updates */
int update_missed = 999; /* demand updates missed before veto */
int update_wantmin = 0; /* votes required for demand update */
int update_wantmin = 1; /* votes required for demand update */
int blitz_time = 10; /* number of minutes between blitz updates */
char *update_demandtimes = ""; /* demand update time ranges */
char *game_days = ""; /* days game is running */