!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."""
|
"""Restarts the bot."""
|
||||||
|
|
||||||
args = rest.split()
|
args = rest.split()
|
||||||
force = False
|
|
||||||
|
|
||||||
if botconfig.DEBUG_MODE:
|
# Force in debug mode by default
|
||||||
force = True
|
force = botconfig.DEBUG_MODE
|
||||||
|
|
||||||
if args and args[0] == "-force":
|
if args and args[0] == "-force":
|
||||||
force = True
|
force = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user