3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-30 14:49:28 +01:00

relay: tweak the "wrong network" error message for claim, modedelta

This commit is contained in:
James Lu 2018-06-01 22:47:59 -07:00
parent c8b2a676fd
commit 32acc27967

View File

@ -2666,7 +2666,7 @@ def claim(irc, source, args):
relay = (irc.name, channel)
if relay not in db:
irc.error('No relay %r exists on this network (this command must be run on the '
'network this channel was created on).' % channel)
'network the channel was created on).' % channel)
return
claimed = db[relay]["claim"]
try:
@ -2728,7 +2728,7 @@ def modedelta(irc, source, args):
relay = (irc.name, channel)
if relay not in db:
irc.error('No relay %r exists on this network (this command must be run on the '
'network this channel was created on).' % channel)
'network the channel was created on).' % channel)
return
target_modes = []