Skip to content

Commit c353a22

Browse files
committed
y
Signed-off-by: Yonle <[email protected]>
1 parent 4aa39d7 commit c353a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bouncer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function handleConnection(ws, req, onClose) {
4949
let authorized = true;
5050
let sessStarted = false;
5151

52-
ws.onready = new WeakSet();
52+
ws.onready = new Set();
5353
ws.ident = Date.now() + Math.random().toString(36);
5454
ws.id = null;
5555
ws.ip = req.headers["x-forwarded-for"]?.split(",")[0] || req.socket.address()?.address;

0 commit comments

Comments
 (0)