Fix grammar

This commit is contained in:
Ben C 2023-02-18 00:33:28 -05:00
parent 4f0491e98e
commit 62f48c1a39
2 changed files with 3 additions and 4 deletions

View File

@ -12,7 +12,6 @@ pub async fn launch_game(config: &Config, port: &u16) -> Result<()> {
.current_dir(PathBuf::from(&owml_path))
.spawn()?;
child.wait().await?;
info!("Quit Game");
Ok(())
}

View File

@ -58,7 +58,7 @@ impl LogServer {
let mut keep_going = true;
while keep_going {
let stream = self.listener.accept().await;
info!(target: &target, "===Client Attached To Console===");
info!(target: &target, "======Client Attached To Console======");
if let Ok((mut stream, _)) = stream {
let mut reader = BufReader::new(&mut stream);
let mut body = String::new();
@ -87,12 +87,12 @@ impl LogServer {
error!(target: &target, "Invalid Log From Game Sent: {:?}", why);
}
}
body = String::default();
body.clear();
}
} else {
error!(target: &target, "Invalid Log From Game Sent!");
}
info!(target: &target, "===Client De-Attached From Console===");
info!(target: &target, "======Client Detached From Console======");
}
Ok(())
}