Skip to content

Commit

Permalink
Fix <Guild>.large (#1062)
Browse files Browse the repository at this point in the history
* Fix <Guild>.large

Would either be true or undefined.

* Update Guild.js

* To make hydrabolt happy

* Update Guild.js
  • Loading branch information
HyperCoder authored and amishshah committed Jan 5, 2017
1 parent 4952647 commit fdc8050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/Guild.js
Expand Up @@ -106,7 +106,7 @@ class Guild {
* Whether the guild is "large" (has more than 250 members)
* @type {boolean}
*/
this.large = data.large || this.large;
this.large = Boolean('large' in data ? data.large : this.large);

/**
* An array of guild features.
Expand Down

0 comments on commit fdc8050

Please sign in to comment.