@ -36,7 +36,8 @@ impl Game {
client.send_with_prompt(message);
} else {
client.send_without_prompt(&message);
if message == "Goodbye".to_string() {
if message == "Goodbye\n\n".to_string() {
let _ = client.close();
log::info!("Disconnect from {}", client);
self.clients.remove(&token);
self.tokens.push_back(token);