mirror of
https://github.com/ow-mods/ow-mod-man.git
synced 2025-12-11 20:15:50 +01:00
Fix grammar
This commit is contained in:
parent
4f0491e98e
commit
62f48c1a39
@ -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(())
|
||||
}
|
||||
|
||||
|
||||
@ -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(())
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user