From ba2b2e902556cb5425fdc7edaf1465926181b0ac Mon Sep 17 00:00:00 2001 From: Gabriel Huber Date: Tue, 10 Jun 2014 17:56:19 +0200 Subject: [PATCH] Set adminonly for resethistory and removed permission --- plugins/history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/history.py b/plugins/history.py index 5e2c3667..35fedece 100644 --- a/plugins/history.py +++ b/plugins/history.py @@ -47,7 +47,7 @@ def chat_tracker(paraml, input=None, db=None, conn=None): track_history(input, message_time, conn) -@hook.command(autohelp=False, permissions=["botcontrol"]) +@hook.command(autohelp=False, adminonly=True) def resethistory(inp, input=None, conn=None): """resethistory - Resets chat history for the current channel""" try: