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