mirror of
				https://github.com/ergochat/ergo.git
				synced 2025-10-31 22:07:23 +01:00 
			
		
		
		
	fix ns register validation bug
This commit is contained in:
		
							parent
							
								
									d6494957a4
								
							
						
					
					
						commit
						0475fe882c
					
				| @ -313,7 +313,7 @@ func nsRegisterHandler(server *Server, client *Client, command string, params [] | ||||
| 	// get params | ||||
| 	username, email := params[0], params[1] | ||||
| 	var passphrase string | ||||
| 	if len(params) > 0 { | ||||
| 	if len(params) > 2 { | ||||
| 		passphrase = params[2] | ||||
| 	} | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Shivaram Lingamneni
						Shivaram Lingamneni