mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +01:00 
			
		
		
		
	relay: fix users being cloned on every JOIN
This commit is contained in:
		
							parent
							
								
									6b9ec694b7
								
							
						
					
					
						commit
						b3206822d2
					
				@ -118,7 +118,7 @@ def handle_join(irc, numeric, command, args):
 | 
			
		||||
            # again!
 | 
			
		||||
            u = None
 | 
			
		||||
            if userpair_index is not None:
 | 
			
		||||
                u = userpair_index.get(irc.name)
 | 
			
		||||
                u = userpair_index.get(remoteirc.name)
 | 
			
		||||
            if u is None:  # .get() returns None if not found
 | 
			
		||||
                u = remoteirc.proto.spawnClient(remoteirc, nick, ident=ident,
 | 
			
		||||
                                                host=host, realname=realname).uid
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user