Update server_profile.rs

removed get client list
This commit is contained in:
michael-bailey 2020-09-27 08:48:03 +01:00 committed by michael bailey
parent c233138ca6
commit 4501887b14
1 changed files with 0 additions and 5 deletions

View File

@ -91,11 +91,6 @@ impl Server {
self.author.to_string()
}
pub fn get_client_list(&self) -> Vec<String> {
let map = self.connected_clients.lock().unwrap();
map.iter().map(|(_k, v)| format!("{:?}", v)).collect()
}
pub fn start(&mut self) -> Result<(), io::Error> {
println!("server: starting server...");