3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-23 19:19:31 +01:00

relay: fix incorrect variable when logging invalid channels in LINK

Where on earth is c even defined?
This commit is contained in:
James Lu 2019-08-04 11:40:50 -07:00
parent 80188c3673
commit 07d8c8828a

View File

@ -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: