Browse Source

add !frestart verbosemode

master
jcao219 13 years ago
parent
commit
465124eb63
  1. 2
      modules/wolfgame.py

2
modules/wolfgame.py

@ -220,6 +220,8 @@ def restart_program(cli, nick, *rest):
os.execl(python, python, sys.argv[0], "--debug") os.execl(python, python, sys.argv[0], "--debug")
elif rest[-1].strip().lower() == "normalmode": elif rest[-1].strip().lower() == "normalmode":
os.execl(python, python, sys.argv[0]) os.execl(python, python, sys.argv[0])
elif rest[-1].strip().lower() == "verbosemode":
os.execl(python, python, sys.argv[0], "--verbose")
else: else:
os.execl(python, python, *sys.argv) os.execl(python, python, *sys.argv)

Loading…
Cancel
Save