// Returns true if the username is taken, false otherwise
Returns true if the username is taken, false otherwise
// Returns true if the username is taken false otherwise
func userDuplicate(r *room, a string) bool {
	for i := range r.users {
		if stripansi.Strip(r.users[i].name) == stripansi.Strip(a) {
			return true
		}
	}
	return false
}
func userDuplicate ( r * room , a string ) bool { for i := range r . users { if stripansi . Strip ( r . users [ i ] . name ) == stripansi . Strip ( a ) { return true } } return false }
Returns true if the username is taken, false otherwise
Returns true if the username is taken false otherwise