mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +01:00 
			
		
		
		
	relay: when restoring a user after KICK, join them to the *right* channel
This commit is contained in:
		
							parent
							
								
									5704fddfb4
								
							
						
					
					
						commit
						f93349ae1f
					
				@ -396,7 +396,7 @@ def handle_kick(irc, source, command, args):
 | 
			
		||||
                # kick ops, admins can't kick owners, etc.
 | 
			
		||||
                modes = getPrefixModes(remoteirc, irc, remotechan, real_target)
 | 
			
		||||
                # Join the kicked client back with its respective modes.
 | 
			
		||||
                irc.proto.sjoinServer(irc, irc.sid, remotechan, [(modes, target)])
 | 
			
		||||
                irc.proto.sjoinServer(irc, irc.sid, channel, [(modes, target)])
 | 
			
		||||
                if kicker in irc.users:
 | 
			
		||||
                    utils.msg(irc, kicker, "This channel is claimed; your kick to "
 | 
			
		||||
                                           "%s has been blocked because you are not "
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user