From 144b01cfed1ac7adaa44dca8256edb93e807d520 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Sun, 11 Dec 2016 10:27:39 +0100 Subject: [PATCH] !restart already fixed, small change for consistency --- src/wolfgame.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index ad58b6d..70b8ed9 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -419,10 +419,9 @@ def restart_program(cli, nick, chan, rest): # XXX: sighandler (top of file) also """Restarts the bot.""" args = rest.split() - force = False - if botconfig.DEBUG_MODE: - force = True + # Force in debug mode by default + force = botconfig.DEBUG_MODE if args and args[0] == "-force": force = True