Skip to content

Commit

Permalink
Update UsagiClient.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nayvcake authored Mar 18, 2022
1 parent 0894e89 commit 0f47a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/UsagiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit 0f47a0d

Please sign in to comment.