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:
parent
80188c3673
commit
07d8c8828a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user