mirror of
https://github.com/shazow/ssh-chat.git
synced 2026-10-27 01:16:21 +03:00
Fix name coloring when users are renamed
This commit is contained in:
1 parent
ffe23fa91f
commit
de3df4e1a4
1 file changed
+1
-1
@@ -160,7 +160,7 @@ func (s *Server) Rename(client *Client, newName string) {
|
||||
s.clients[client.Name] = client
|
||||
s.lock.Unlock()
|
||||
|
||||
s.SysMsg("%s is now known as %s.", oldName, newName)
|
||||
s.SysMsg("%s is now known as %s.", ColorString(client.Color, oldName), ColorString(client.Color, newName))
|
||||
}
|
||||
|
||||
func (s *Server) List(prefix *string) []string {
|
||||
|
||||
Reference in new issue
Block a user