mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-14 16:17:17 +03:00
Fixed typo
This commit is contained in:
parent
f79ada5d63
commit
84b0b5ab16
@ -199,7 +199,7 @@ func (s *Server) Rename(client *Client, newName string) {
|
||||
return
|
||||
}
|
||||
|
||||
// TODO: Use a channel/goroutine for adding clients, rathern than locks?
|
||||
// TODO: Use a channel/goroutine for adding clients, rather than locks?
|
||||
delete(s.clients, client.Name)
|
||||
oldName := client.Name
|
||||
client.Rename(newName)
|
||||
|
Loading…
x
Reference in New Issue
Block a user