From 0f47a0dbf68674644027b96a655839ce79177d55 Mon Sep 17 00:00:00 2001 From: Nayv <43297329+nayvcake@users.noreply.github.com> Date: Thu, 17 Mar 2022 23:16:07 -0300 Subject: [PATCH] Update UsagiClient.ts --- src/client/UsagiClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/UsagiClient.ts b/src/client/UsagiClient.ts index 58fcf94..54b6d9d 100644 --- a/src/client/UsagiClient.ts +++ b/src/client/UsagiClient.ts @@ -181,7 +181,7 @@ export class UsagiClient extends EventEmitter { this.stats.end = Date.now(); this.stats.update = Date.now(); this.send({ type: 89, message: '' }) - this.emit('connected', (this.stats.start, this.stats.end)) + this.emit('connected', this.stats.start, this.stats.end) }) this.on('close', (code, reason) => { this.stats.failedToConnect++;