Fix TypeError: cb is not a function during ping
This commit is contained in:
@@ -189,7 +189,7 @@ exports.getModule = class WebSocketLoginServer extends LoginServerModule {
|
||||
ws.isConnectionAlive = false; // pong will reset this
|
||||
|
||||
Log.trace('Ping to remote WebSocket client');
|
||||
return ws.ping('', false, true);
|
||||
return ws.ping('', false); // false=don't mask
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user