3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

corecommands: remove extraneous irc.checkAuthenticated() call

This commit is contained in:
James Lu 2017-02-24 17:49:54 -08:00
parent 21cbcb8cf6
commit fe3fa2872d

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: