use lower return
This commit is contained in:
parent
492a8fe359
commit
d68d14358f
1 changed files with 0 additions and 2 deletions
|
@ -41,8 +41,6 @@ export class PowerLevels {
|
|||
}
|
||||
if (typeof userLevel === "number") {
|
||||
return userLevel;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
} else if (this._createEvent) {
|
||||
if (userId === this._createEvent.content?.creator) {
|
||||
|
|
Reference in a new issue