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:
parent
c8b2a676fd
commit
32acc27967
@ -2666,7 +2666,7 @@ def claim(irc, source, args):
|
|||||||
relay = (irc.name, channel)
|
relay = (irc.name, channel)
|
||||||
if relay not in db:
|
if relay not in db:
|
||||||
irc.error('No relay %r exists on this network (this command must be run on the '
|
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
|
return
|
||||||
claimed = db[relay]["claim"]
|
claimed = db[relay]["claim"]
|
||||||
try:
|
try:
|
||||||
@ -2728,7 +2728,7 @@ def modedelta(irc, source, args):
|
|||||||
relay = (irc.name, channel)
|
relay = (irc.name, channel)
|
||||||
if relay not in db:
|
if relay not in db:
|
||||||
irc.error('No relay %r exists on this network (this command must be run on the '
|
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
|
return
|
||||||
|
|
||||||
target_modes = []
|
target_modes = []
|
||||||
|
Loading…
Reference in New Issue
Block a user