mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	opercmds: make 'kick' treat channels case insensitively
This commit is contained in:
		
							parent
							
								
									a2c5b11194
								
							
						
					
					
						commit
						d008814de9
					
				@ -85,7 +85,7 @@ def kick(irc, source, args):
 | 
			
		||||
    irc.checkAuthenticated(source, allowOper=False)
 | 
			
		||||
    try:
 | 
			
		||||
        sourcenick = args[0]
 | 
			
		||||
        channel = args[1]
 | 
			
		||||
        channel = irc.toLower(args[1])
 | 
			
		||||
        target = args[2]
 | 
			
		||||
        reason = ' '.join(args[3:])
 | 
			
		||||
    except IndexError:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user