From 87cbbc9c57f621ce308d1fde77167e1c157845f3 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 19 Jun 2016 12:32:27 -0700 Subject: [PATCH] relay: clearer error message when DESTROY'ing a channel you didn't create --- plugins/relay.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index 59c3a3c..c22c87e 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -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