Fix possible crash in HandleServerChatMessage