From c896f3a5f9b2e3f7f03ad1871b6566f098c0e295 Mon Sep 17 00:00:00 2001 From: stale Date: Sun, 29 May 2022 21:38:34 -0300 Subject: limit flood depth, quiet logs, fix board tx --- src/conn.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/conn.rs') diff --git a/src/conn.rs b/src/conn.rs index d38b6ef..af7903f 100644 --- a/src/conn.rs +++ b/src/conn.rs @@ -137,7 +137,7 @@ pub async fn handle_room(mut incoming: SplitStream, addr: SocketAddr, "reveal" => { match parse_pos(fields) { Some(pos) => { - println!("{cmd} from {me}"); + //println!("{cmd} from {me}"); if let Err(e) = cmd_tx.send(MetaMove::Move(Move { t: MoveType::Reveal, pos }, addr)) { println!("couldn't process {me}'s reveal command: {e}"); }; @@ -150,7 +150,7 @@ pub async fn handle_room(mut incoming: SplitStream, addr: SocketAddr, "flag" => { match parse_pos(fields) { Some(pos) => { - println!("{cmd} from {me}"); + //println!("{cmd} from {me}"); if let Err(e) = cmd_tx.send(MetaMove::Move(Move { t: MoveType::ToggleFlag, pos }, addr)) { println!("couldn't process {me}'s flag command: {e}"); }; @@ -161,7 +161,7 @@ pub async fn handle_room(mut incoming: SplitStream, addr: SocketAddr, } }, "reset" => { - println!("{cmd} from {me}"); + //println!("{cmd} from {me}"); if let Err(e) = cmd_tx.send(MetaMove::Reset) { println!("couldn't request game dump in behalf of {me}: {e}"); } -- cgit v1.2.3