!restart already fixed, small change for consistency

This commit is contained in:
nyuszika7h 2016-12-11 10:27:39 +01:00
parent 218366cbd8
commit 144b01cfed

View File

@ -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