Don't print all chat messages on server

This commit is contained in:
Sebastian Lohff 2021-12-31 01:46:52 +01:00
parent 150c356283
commit 8e6e310a18
1 changed files with 0 additions and 1 deletions

View File

@ -137,7 +137,6 @@ fn handle_client(mut stream: TcpStream, server: Arc<Mutex<ChatServer>>, client_i
}
let msg = format!("<{}> {}", nick, msg_raw);
server.lock()?.send_to_all(&msg)?;
println!("{}", msg);
}
Ok(())
}