mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
relay: on clientbot, explain _why_ calling LINK twice is needed
This commit is contained in:
parent
b4e83e7b1a
commit
e75c0d075f
@ -1588,7 +1588,7 @@ def link(irc, source, args):
|
||||
# require that the caller be opped.
|
||||
if localchan not in irc.pseudoclient.channels:
|
||||
irc.proto.join(irc.pseudoclient.uid, localchan)
|
||||
irc.reply('Joining %r now; please run this command again in a few seconds.' % 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):
|
||||
irc.reply('Error: You must be opped in %r to complete this operation.' % localchan)
|
||||
|
Loading…
Reference in New Issue
Block a user