parent
96119efa41
commit
4c64fa26ac
@ -53,7 +53,7 @@ func (s *Server) userNameChanged(eventData chatClientEvent) {
|
|||||||
log.Errorln("error checking if name is available", err)
|
log.Errorln("error checking if name is available", err)
|
||||||
return
|
return
|
||||||
} else if !available {
|
} else if !available {
|
||||||
message := fmt.Sprintf("The name **%s** has been already registered. If this is your name, please authenticate.", proposedUsername)
|
message := fmt.Sprintf("The name **%s** has already been registered. If this is your name, please authenticate.", proposedUsername)
|
||||||
s.sendActionToClient(eventData.client, message)
|
s.sendActionToClient(eventData.client, message)
|
||||||
|
|
||||||
// Resend the client's user so their username is in sync.
|
// Resend the client's user so their username is in sync.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user