Bug fixes

This commit is contained in:
lukeroge 2012-03-29 10:48:59 +13:00
parent 2f492a4659
commit ebdf34256e

View file

@ -38,7 +38,7 @@ def restart(inp, nick=None, conn=None):
else: else:
conn.cmd("QUIT", ["Restarted by %s." % nick]) conn.cmd("QUIT", ["Restarted by %s." % nick])
time.sleep(5) time.sleep(5)
subprocess.call(["./cloudbot", "restart"]) os.execl("./cloudbot", "restart")
@hook.command(autohelp=False, adminonly=True) @hook.command(autohelp=False, adminonly=True)