3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-02-17 14:01:03 +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 remotenet = args.remotenet
if not irc.is_channel(localchan): if not irc.is_channel(localchan):
irc.error('Invalid channel %r.' % c) irc.error('Invalid channel %r.' % localchan)
return return
if remotenet == irc.name: if remotenet == irc.name: