server: fix failedPings counter

This commit is contained in:
2022-07-01 00:26:45 +02:00
parent e0e7f55f56
commit 2a7905a5d0

View File

@@ -70,7 +70,7 @@ export default class SocketHandler {
});
ws.on('pong', () => {
this.failedPings = 0;
this.connections[ws.id].failedPings = 0;
});
this._fire('join', ws);