From 0b0efbaf9f49757c58aa9ec6a060f966e15e7677 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 --- plugins/relay.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index 54d243c..018591a 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -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: