Webpack build for branch master: 25096047f1

This commit is contained in:
Travis CI 2017-05-14 20:44:51 +00:00
parent e383d34da8
commit 5b0d61c31b
2 changed files with 3 additions and 3 deletions

View file

@ -5350,13 +5350,13 @@ class GuildMember {
* @readonly * @readonly
*/ */
get permissions() { get permissions() {
if (this.user.id === this.guild.ownerID) return new Permissions(this, Permissions.ALL); if (this.user.id === this.guild.ownerID) return new Permissions(Permissions.ALL);
let permissions = 0; let permissions = 0;
const roles = this.roles; const roles = this.roles;
for (const role of roles.values()) permissions |= role.permissions; for (const role of roles.values()) permissions |= role.permissions;
return new Permissions(this, permissions); return new Permissions(permissions);
} }
/** /**

File diff suppressed because one or more lines are too long