mirror of
				https://github.com/ergochat/ergo.git
				synced 2025-10-31 13:57:23 +01:00 
			
		
		
		
	forbid logging in twice via nickserv
This commit is contained in:
		
							parent
							
								
									3db6c9472b
								
							
						
					
					
						commit
						d6494957a4
					
				| @ -238,6 +238,11 @@ func nsLoginThrottleCheck(client *Client, rb *ResponseBuffer) (success bool) { | ||||
| } | ||||
| 
 | ||||
| func nsIdentifyHandler(server *Server, client *Client, command string, params []string, rb *ResponseBuffer) { | ||||
| 	if client.LoggedIntoAccount() { | ||||
| 		nsNotice(rb, client.t("You're already logged into an account")) | ||||
| 		return | ||||
| 	} | ||||
| 
 | ||||
| 	loginSuccessful := false | ||||
| 
 | ||||
| 	username := params[0] | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Shivaram Lingamneni
						Shivaram Lingamneni