added uptime, but id does not work with hours. will fix later

This commit is contained in:
neersighted 2012-03-30 09:03:34 -07:00
parent 1a436f87bf
commit a49009c53c
3 changed files with 20 additions and 7 deletions

View file

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