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: