Fix name coloring when users are renamed

This commit is contained in:
Andreas Renberg (IQAndreas) 2014-12-13 03:12:53 -06:00
parent ffe23fa91f
commit de3df4e1a4

View File

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