Merge pull request #45 from pborreli/patch-1

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

View File

@ -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)