From 07d8c8828a25c01792765e75d3c39c4963aa88d9 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 4 Aug 2019 11:40:50 -0700 Subject: [PATCH] relay: fix incorrect variable when logging invalid channels in LINK Where on earth is c even defined? --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index a72edd2..74d8bc2 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -2453,7 +2453,7 @@ def link(irc, source, args): remotenet = args.remotenet if not irc.is_channel(localchan): - irc.error('Invalid channel %r.' % c) + irc.error('Invalid channel %r.' % localchan) return if remotenet == irc.name: