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

networks: allow all opers to run 'autoconnect'

This commit is contained in:
James Lu 2016-04-02 09:48:49 -07:00
parent 13e97177e2
commit 44b102ffce

View File

@ -74,7 +74,7 @@ def autoconnect(irc, source, args):
Sets the autoconnect time for <network> to <seconds>.
You can disable autoconnect for a network by setting <seconds> to a negative value."""
utils.checkAuthenticated(irc, source, allowOper=False)
utils.checkAuthenticated(irc, source)
try:
netname = args[0]
seconds = float(args[1])