3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-02-02 15:44:06 +01:00

relay: switch to Channel.is_op_plus()

This commit is contained in:
James Lu 2017-07-11 02:23:13 -07:00
parent 1a8dcdfa3a
commit 508253af7e

View File

@ -1759,7 +1759,7 @@ def link(irc, source, args):
irc.join(irc.pseudoclient.uid, localchan)
irc.reply('Joining %r now to check for op status; please run this command again after I join.' % localchan)
return
elif not irc.channels[localchan].isOpPlus(source):
elif not irc.channels[localchan].is_op_plus(source):
irc.error('You must be opped in %r to complete this operation.' % localchan)
return