pprintf(p, "ERROR: Sorry, all available slots for seek are closed.\n");
return COM_OK;
}
- seek_globals.ads[num].status = SEEKCLOSED;
seek_globals.ads[num].whofrom = p;
#if 1
board,param[0].val.string))
return COM_OK; /* couldn't parse */
}
+
+ seek_globals.ads[num].status = SEEKCLOSED; // params are valid; create ad
+
if(wt < 0) wt = pp->d_time; if(bt < 0) bt = wt;
if(winc < 0) winc = pp->d_inc; if(binc < 0) binc = bt;
seek_globals.ads[num].wtime = wt;
seek_globals.ads[num].seek_color = random() % 2;
#else
+ seek_globals.ads[num].status = SEEKCLOSED;
+
if (param[0].type == TYPE_INT)
seek_globals.ads[num].wtime = param[0].val.integer; /* White time */
else