mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	opercmds: switch to irc.parseModes()
This commit is contained in:
		
							parent
							
								
									e1d3003683
								
							
						
					
					
						commit
						9952f08c8f
					
				@ -210,7 +210,7 @@ def mode(irc, source, args):
 | 
			
		||||
        irc.reply("Error: No valid modes were given.")
 | 
			
		||||
        return
 | 
			
		||||
 | 
			
		||||
    parsedmodes = utils.parseModes(irc, target, modes)
 | 
			
		||||
    parsedmodes = irc.parseModes(target, modes)
 | 
			
		||||
 | 
			
		||||
    if not parsedmodes:
 | 
			
		||||
        # Modes were given but they failed to parse into anything meaningful.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user