From bc9f27c6d5b2cdec0a2745653fec9a6f14997ef1 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Thu, 21 Jul 2016 23:07:01 +0200 Subject: [PATCH] Don't require -force for !fdie and !frestart in debug mode --- src/wolfgame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 909417a..24e0a73 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -460,7 +460,7 @@ def forced_exit(cli, nick, chan, rest): args = rest.split() - if args and args[0] == "-force": + if botconfig.DEBUG_MODE or (args and args[0] == "-force"): force = True rest = " ".join(args[1:]) else: @@ -521,7 +521,7 @@ def restart_program(cli, nick, chan, rest): args = rest.split() - if args and args[0] == "-force": + if botconfig.DEBUG_MODE or (args and args[0] == "-force"): force = True rest = " ".join(args[1:]) else: