From b0296933a17f92b2830ea279639503b14001b28d Mon Sep 17 00:00:00 2001 From: IotaSpencer Date: Sat, 10 Dec 2016 00:53:27 -0500 Subject: [PATCH] plugins/commands.py: change over to permissions API --- plugins/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/commands.py b/plugins/commands.py index 8560d5a..60c868f 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -134,7 +134,7 @@ def loglevel(irc, source, args): Sets the log level to the given . must be either DEBUG, INFO, WARNING, ERROR, or CRITICAL. If no log level is given, shows the current one.""" - irc.checkAuthenticated(source, allowOper=False) + permissions.checkPermissions(irc, source, ['commands.loglevel']) try: level = args[0].upper() try: