Bug fixes
This commit is contained in:
parent
2f492a4659
commit
ebdf34256e
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ def restart(inp, nick=None, conn=None):
|
|||
else:
|
||||
conn.cmd("QUIT", ["Restarted by %s." % nick])
|
||||
time.sleep(5)
|
||||
subprocess.call(["./cloudbot", "restart"])
|
||||
os.execl("./cloudbot", "restart")
|
||||
|
||||
|
||||
@hook.command(autohelp=False, adminonly=True)
|
||||
|
|
Reference in a new issue