Update server_profile.rs

removed get client list
This commit is contained in:
michael-bailey 2020-09-27 08:48:03 +01:00
parent 208c5c0b7f
commit 4b5914b625
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...");