Fix issue with !quit at the beginning of the game

This commit is contained in:
Vgr E. Barry 2015-12-27 23:23:05 -05:00
parent 79d6313ba5
commit b342c6c53e

View File

@ -7280,7 +7280,6 @@ def start(cli, nick, chan, forced = False, restart = ""):
return return
now = datetime.now() now = datetime.now()
var.GAME_START_TIME = now # Only used for the idler checker
dur = int((var.CAN_START_TIME - now).total_seconds()) dur = int((var.CAN_START_TIME - now).total_seconds())
if dur > 0 and not forced: if dur > 0 and not forced:
plural = "" if dur == 1 else "s" plural = "" if dur == 1 else "s"
@ -7653,7 +7652,7 @@ def start(cli, nick, chan, forced = False, restart = ""):
reapertimer.daemon = True reapertimer.daemon = True
reapertimer.start() reapertimer.start()
var.GAME_START_TIME = datetime.now()
@hook("error") @hook("error")
def on_error(cli, pfx, msg): def on_error(cli, pfx, msg):