mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user