From b471755310537b03beffc2a978cd823c2dbaef5b Mon Sep 17 00:00:00 2001 From: Joshua Higgins Date: Wed, 3 Dec 2025 20:09:46 -0500 Subject: [PATCH] fix: double watch bug --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index f84b6bc..5df38ee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -551,7 +551,7 @@ async fn handle_connection( match match_id_parse { Ok(match_id) => { let result = watch(&matches, match_id, addr).await; - if result.is_err() { let _ = send(&tx, "ERROR:INVALID:WATCH"); } + if result.is_err() { let _ = send(&tx, "ERROR:INVALID:WATCH"); continue; } let clients_guard = clients.read().await; let matches_guard = matches.read().await;