mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-23 19:19:31 +01:00
relay: less ambiguous error if a relay channel doesn't exist on the caller network
This commit is contained in:
parent
6e94375ed9
commit
0b0efbaf9f
@ -2041,7 +2041,8 @@ def claim(irc, source, args):
|
||||
relay = (irc.name, channel)
|
||||
with db_lock:
|
||||
if relay not in db:
|
||||
irc.error('No such relay %r exists.' % channel)
|
||||
irc.error('No relay %r exists on this network (this command must be run on the '
|
||||
'network this channel was created on).' % channel)
|
||||
return
|
||||
claimed = db[relay]["claim"]
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user