Changed it so the server handles all messages being sent in the chat.