From bcd5764aa03e128e06c355272b7b81eac8d4501d Mon Sep 17 00:00:00 2001 From: stale Date: Sun, 29 May 2022 20:45:03 -0300 Subject: improved pubs listing, many minor fixes --- src/conn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conn.rs') diff --git a/src/conn.rs b/src/conn.rs index 14777bf..d38b6ef 100644 --- a/src/conn.rs +++ b/src/conn.rs @@ -43,7 +43,7 @@ pub async fn lobby(socket: WebSocket, addr: SocketAddr, room: Arc>) let conn = Conn { addr, tx: tx.clone() }; room.write().await.players.insert_conn(conn, name.clone(), clr).await }; - tx.send(Message::text(format!("regack {} {uid} {}", name.replace(" ", " "), room.read().await.board_conf))).expect("couldn't send register ack"); + tx.send(Message::text(format!("regack {} {uid} {}", name.replace(" ", " "), room.read().await.conf.board_conf))).expect("couldn't send register ack"); if let Err(e) = room.read().await.cmd_stream.send(MetaMove::Dump) { println!("couldn't request game dump in behalf of {addr}: {e}"); } -- cgit v1.2.3