Skip quit safeguard for Ctrl-C in console
This commit is contained in:
parent
1f0a1e1303
commit
108fe19278
@ -492,7 +492,7 @@ def forced_exit(cli, nick, chan, rest):
|
|||||||
force = False
|
force = False
|
||||||
|
|
||||||
if var.PHASE in var.GAME_PHASES:
|
if var.PHASE in var.GAME_PHASES:
|
||||||
if var.PHASE == "join" or force:
|
if var.PHASE == "join" or force or nick == "<console>":
|
||||||
try:
|
try:
|
||||||
stop_game(cli)
|
stop_game(cli)
|
||||||
except Exception:
|
except Exception:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user