mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-30 14:49:28 +01:00
relay: clearer error message when DESTROY'ing a channel you didn't create
This commit is contained in:
parent
d3e207d653
commit
87cbbc9c57
@ -1395,7 +1395,8 @@ def destroy(irc, source, args):
|
||||
channel, irc.getHostmask(source))
|
||||
irc.reply('Done.')
|
||||
else:
|
||||
irc.reply('Error: No such relay %r exists.' % channel)
|
||||
irc.reply("Error: No such channel %r exists. If you're trying to delink a channel from "
|
||||
"another network, use the DESTROY command." % channel)
|
||||
return
|
||||
|
||||
@utils.add_cmd
|
||||
|
Loading…
Reference in New Issue
Block a user