mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +01:00 
			
		
		
		
	opercmds: migrate from utils.isServerName to irc.is_server_name
This commit is contained in:
		
							parent
							
								
									9e212fc0a4
								
							
						
					
					
						commit
						87fdb1dde1
					
				@ -322,7 +322,7 @@ def jupe(irc, source, args):
 | 
			
		||||
        irc.error('Not enough arguments. Needs 1-2: servername, reason (optional).')
 | 
			
		||||
        return
 | 
			
		||||
 | 
			
		||||
    if not utils.isServerName(servername):
 | 
			
		||||
    if not irc.is_server_name(servername):
 | 
			
		||||
        irc.error("Invalid server name %r." % servername)
 | 
			
		||||
        return
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user