mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +01:00 
			
		
		
		
	pr/insp: remove isNick check in spawnClient
This commit is contained in:
		
							parent
							
								
									450584b963
								
							
						
					
					
						commit
						c655d975a6
					
				@ -39,8 +39,6 @@ def spawnClient(irc, nick, ident='null', host='null', realhost=None, modes=set()
 | 
			
		||||
    realname = realname or irc.botdata['realname']
 | 
			
		||||
    realhost = realhost or host
 | 
			
		||||
    raw_modes = utils.joinModes(modes)
 | 
			
		||||
    if not utils.isNick(nick):
 | 
			
		||||
        raise ValueError('Invalid nickname %r.' % nick)
 | 
			
		||||
    _sendFromServer(irc, server, "UID {uid} {ts} {nick} {realhost} {host} {ident} {ip}"
 | 
			
		||||
                    " {ts} {modes} + :{realname}".format(ts=ts, host=host,
 | 
			
		||||
                                             nick=nick, ident=ident, uid=uid,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user