mirror of
				https://github.com/ergochat/ergo.git
				synced 2025-11-03 23:37:22 +01:00 
			
		
		
		
	fix #1251
This commit is contained in:
		
							parent
							
								
									fda23264ad
								
							
						
					
					
						commit
						3bcf67b956
					
				@ -129,7 +129,8 @@ func fixupNickEqualsAccount(client *Client, rb *ResponseBuffer, config *Config)
 | 
			
		||||
	if !client.registered {
 | 
			
		||||
		return true
 | 
			
		||||
	}
 | 
			
		||||
	if performNickChange(client.server, client, client, rb.session, client.AccountName(), rb) != nil {
 | 
			
		||||
	err := performNickChange(client.server, client, client, rb.session, client.AccountName(), rb)
 | 
			
		||||
	if err != nil && err != errNoop {
 | 
			
		||||
		client.server.accounts.Logout(client)
 | 
			
		||||
		nsNotice(rb, client.t("A client is already using that account; try logging out and logging back in with SASL"))
 | 
			
		||||
		return false
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user