mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	relay: only block cmodes from relaying on clientbot (#289)
This commit is contained in:
		
							parent
							
								
									f457018f89
								
							
						
					
					
						commit
						6bc3191077
					
				@ -1215,8 +1215,8 @@ def handle_mode(irc, numeric, command, args):
 | 
			
		||||
    target = args['target']
 | 
			
		||||
    modes = args['modes']
 | 
			
		||||
 | 
			
		||||
    if irc.protoname == 'clientbot':
 | 
			
		||||
        # We don't sync modes with clientbot networks... that's just too much of a PITA
 | 
			
		||||
    if irc.protoname == 'clientbot' and utils.isChannel(target):
 | 
			
		||||
        # We don't sync cmodes with clientbot networks yet.
 | 
			
		||||
        return
 | 
			
		||||
 | 
			
		||||
    for name, remoteirc in world.networkobjects.copy().items():
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user