@ -78,10 +78,9 @@ func handleIncomingMessage(sender *websocket.Conn, msg string) {
sender.WriteJSON(newError("You have an illegal nickname"))
return
}
sendUserList(sender)
usernames[sender] = username
m := newMessage("server", username+" has joined the chat")
m.dispatch()