From 508253af7ea485394129c8a6aae96d370ac5f6e7 Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 11 Jul 2017 02:23:13 -0700 Subject: [PATCH] relay: switch to Channel.is_op_plus() --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index a36a808..e4f0e74 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -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