Snapshot connected users under client lock

This commit is contained in:
Brandon McGinty (chatgpt)
2026-08-09 18:31:03 -04:00
committed by Brandon McGinty
parent 98a29a6470
commit 0766178277
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ Priority 3: configuration, UI, and binding hardening
seconds for the protocol, creating a huge ban duration. Reject negative
durations and validate mask/address before sending.
36. Admin, tree, and client code read mutable maps outside Client.Do
[x] 36. Admin, tree, and client code read mutable maps outside Client.Do
Files: admin.go, ui_tree.go, client.go
UI code ranges Client.Users, Channels, Channel.Users, and Children while
network handlers mutate them. This overlaps issue 2 but must be fixed on