Don't print all chat messages on server
This commit is contained in:
parent
150c356283
commit
8e6e310a18
|
@ -137,7 +137,6 @@ fn handle_client(mut stream: TcpStream, server: Arc<Mutex<ChatServer>>, client_i
|
||||||
}
|
}
|
||||||
let msg = format!("<{}> {}", nick, msg_raw);
|
let msg = format!("<{}> {}", nick, msg_raw);
|
||||||
server.lock()?.send_to_all(&msg)?;
|
server.lock()?.send_to_all(&msg)?;
|
||||||
println!("{}", msg);
|
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue