From 46b18512cfac68344cd6c10c0004a0aa06644728 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 5 Feb 2017 21:46:36 -0800 Subject: [PATCH] relay: less ambiguous error if a relay channel doesn't exist on the caller network (cherry picked from commit 0b0efbaf9f49757c58aa9ec6a060f966e15e7677) --- plugins/relay.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index c908b74..698937f 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -2016,7 +2016,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: