mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-13 08:04:34 +02:00
Fix TypeError: cb is not a function during ping
This commit is contained in:
parent
4acbae86e3
commit
290b391bf8
1 changed files with 4 additions and 4 deletions
|
@ -189,7 +189,7 @@ exports.getModule = class WebSocketLoginServer extends LoginServerModule {
|
||||||
ws.isConnectionAlive = false; // pong will reset this
|
ws.isConnectionAlive = false; // pong will reset this
|
||||||
|
|
||||||
Log.trace('Ping to remote WebSocket client');
|
Log.trace('Ping to remote WebSocket client');
|
||||||
return ws.ping('', false, true);
|
return ws.ping('', false); // false=don't mask
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue