3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

corecommands: remove extraneous irc.checkAuthenticated() call

(cherry picked from commit fe3fa2872d)
This commit is contained in:
James Lu 2017-02-24 17:49:54 -08:00
parent 46b18512cf
commit 6dd08e7dcb

View File

@ -110,7 +110,7 @@ def unload(irc, source, args):
Unloads a currently loaded plugin."""
permissions.checkPermissions(irc, source, ['core.unload', 'core.reload'])
irc.checkAuthenticated(source, allowOper=False)
try:
name = args[0]
except IndexError: