xP: fix inverted condition

This commit is contained in:
2026-07-28 18:28:08 +02:00
parent 682f3de097
commit 38188632e0
+1 -1
View File
@@ -160,7 +160,7 @@ func clientWriteError(ctx context.Context, ws *websocket.Conn, err error) bool {
},
},
}).AppendTo(nil)
if ok {
if !ok {
log.Println("Event serialization failed")
return false
}