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:
parent
1a8dcdfa3a
commit
508253af7e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user