mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
corecommands: remove extraneous irc.checkAuthenticated() call
(cherry picked from commit fe3fa2872d
)
This commit is contained in:
parent
46b18512cf
commit
6dd08e7dcb
@ -110,7 +110,7 @@ def unload(irc, source, args):
|
|||||||
|
|
||||||
Unloads a currently loaded plugin."""
|
Unloads a currently loaded plugin."""
|
||||||
permissions.checkPermissions(irc, source, ['core.unload', 'core.reload'])
|
permissions.checkPermissions(irc, source, ['core.unload', 'core.reload'])
|
||||||
irc.checkAuthenticated(source, allowOper=False)
|
|
||||||
try:
|
try:
|
||||||
name = args[0]
|
name = args[0]
|
||||||
except IndexError:
|
except IndexError:
|
||||||
|
Loading…
Reference in New Issue
Block a user