1
0
mirror of https://github.com/shazow/ssh-chat.git synced 2025-07-29 06:38:36 +03:00

Merge pull request from pborreli/patch-1

Fixed typo
This commit is contained in:
Andrey Petrov 2014-12-14 14:00:03 -08:00
commit 56bdce68b9

@ -199,7 +199,7 @@ func (s *Server) Rename(client *Client, newName string) {
return 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) delete(s.clients, client.Name)
oldName := client.Name oldName := client.Name
client.Rename(newName) client.Rename(newName)