mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +01:00 
			
		
		
		
	relayJoins: remove check for whether the sender internal client
This is already done by the .remote attribute check.
This commit is contained in:
		
							parent
							
								
									b2e1f9678f
								
							
						
					
					
						commit
						cc7e52a190
					
				@ -657,10 +657,6 @@ def relayJoins(irc, channel, users, ts, modes):
 | 
			
		||||
            continue
 | 
			
		||||
        log.debug('(%s) relayJoins: got %r for users', irc.name, users)
 | 
			
		||||
        for user in users.copy():
 | 
			
		||||
            if utils.isInternalClient(irc, user) or user not in irc.users:
 | 
			
		||||
                # We don't need to clone PyLink pseudoclients... That's
 | 
			
		||||
                # meaningless.
 | 
			
		||||
                continue
 | 
			
		||||
            try:
 | 
			
		||||
                if irc.users[user].remote:
 | 
			
		||||
                    # Is the .remote attribute set? If so, don't relay already
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user