Skip quit safeguard for Ctrl-C in console

This commit is contained in:
nyuszika7h 2016-04-30 22:42:12 +02:00
parent 1f0a1e1303
commit 108fe19278

View File

@ -492,7 +492,7 @@ def forced_exit(cli, nick, chan, rest):
force = False
if var.PHASE in var.GAME_PHASES:
if var.PHASE == "join" or force:
if var.PHASE == "join" or force or nick == "<console>":
try:
stop_game(cli)
except Exception: