From a2c5b11194e2608c999af6b7c49f450c02188640 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 24 Jul 2016 16:40:23 -0700 Subject: [PATCH] opercmds: make 'jupe' admin only --- plugins/opercmds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/opercmds.py b/plugins/opercmds.py index adab9e7..b49fa9c 100644 --- a/plugins/opercmds.py +++ b/plugins/opercmds.py @@ -52,10 +52,10 @@ def checkban(irc, source, args): def jupe(irc, source, args): """ [] - Oper-only, jupes the given server.""" + Admin only, jupes the given server.""" # Check that the caller is either opered or logged in as admin. - irc.checkAuthenticated(source) + irc.checkAuthenticated(source, allowOper=False) try: servername = args[0]