dj says he was drunk so I made a fix
This commit is contained in:
parent
2402795006
commit
ad3a0d4b79
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ export class Client extends HarmonyEventEmitter<ClientEvents> {
|
||||||
if (this.upSince === undefined) return 0
|
if (this.upSince === undefined) return 0
|
||||||
else {
|
else {
|
||||||
const dif = Date.now() - this.upSince.getTime()
|
const dif = Date.now() - this.upSince.getTime()
|
||||||
if (dif < 0) return dif
|
if (dif < 0) return 0
|
||||||
else return dif
|
else return dif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue