From a958266f99d3b96b46a6bc4da842bf4d60ab50ec Mon Sep 17 00:00:00 2001 From: neersighted Date: Mon, 2 Apr 2012 13:17:47 -0700 Subject: [PATCH] pep8 --- plugins/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/admin.py b/plugins/admin.py index 7e7b4ad..f6c6c03 100755 --- a/plugins/admin.py +++ b/plugins/admin.py @@ -66,6 +66,7 @@ def stop(inp, nick=None, conn=None): time.sleep(5) os.execl("./cloudbot", "cloudbot", "stop") + @hook.command(autohelp=False, adminonly=True) def restart(inp, nick=None, conn=None): ".restart [reason] -- Restarts the bot with [reason] as its quit message."