mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-06-07 19:03: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
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user