mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-09-23 03:17:58 -04:00
Merge 23b98fcf31b25564d0e40e1319ce99acf48b1bba into 21abb26040c70514bb9b6e50d66501c7cb303584
This commit is contained in:
commit
e520a1758f
@ -184,7 +184,7 @@ func (s *Server) Remove(client *Client) {
|
|||||||
delete(s.clients, strings.ToLower(client.Name))
|
delete(s.clients, strings.ToLower(client.Name))
|
||||||
s.Unlock()
|
s.Unlock()
|
||||||
|
|
||||||
s.SysMsg("%s left.", client.Name)
|
s.SysMsg("%s left. (Total connected: %d)", client.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Server) proposeName(name string) (string, error) {
|
func (s *Server) proposeName(name string) (string, error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user