Make "frestart normalmode" behave as intended.

This commit is contained in:
Vgr E.Barry 2015-01-03 20:04:13 -05:00
parent 932d9f45f4
commit e2c5c819d6

View File

@ -428,7 +428,7 @@ def restart_program(cli, nick, chan, rest):
if rest.strip().lower() == "debugmode": if rest.strip().lower() == "debugmode":
os.execl(python, python, sys.argv[0], "--debug") os.execl(python, python, sys.argv[0], "--debug")
elif rest.strip().lower() == "normalmode": elif rest.strip().lower() == "normalmode":
os.execl(python, python, sys.argv[0]) os.execl(python, python, sys.argv[0], "--normal")
elif rest.strip().lower() == "verbosemode": elif rest.strip().lower() == "verbosemode":
os.execl(python, python, sys.argv[0], "--verbose") os.execl(python, python, sys.argv[0], "--verbose")
else: else: