!restart already fixed, small change for consistency
This commit is contained in:
parent
218366cbd8
commit
144b01cfed
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user