mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	relay_cb: use the full network name in prefixes
This commit is contained in:
		
							parent
							
								
									05a5ec7e19
								
							
						
					
					
						commit
						8dd0a904d2
					
				@ -66,6 +66,10 @@ def cb_relay_core(irc, source, command, args):
 | 
			
		||||
            except (AttributeError, KeyError):
 | 
			
		||||
                return
 | 
			
		||||
            netname = origuser[0]
 | 
			
		||||
            try:  # Try to get the full network name
 | 
			
		||||
                netname = conf.conf['servers'][netname]['netname']
 | 
			
		||||
            except KeyError:
 | 
			
		||||
                pass
 | 
			
		||||
 | 
			
		||||
            # Figure out where the message is destined to.
 | 
			
		||||
            target = args.get('channel') or args.get('target')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user