VoiceChannel#full fix on no limit channel for joinable (#1106)

* VoiceChannel#full fix on no limit channel for joinable

* Update VoiceChannel.js
This commit is contained in:
Peter Vu
2017-01-16 23:36:29 -05:00
committed by Schuyler Cebulskie
parent f8b9bf6884
commit 93d8ec3e87

View File

@@ -50,7 +50,7 @@ class VoiceChannel extends GuildChannel {
* @type {boolean} * @type {boolean}
*/ */
get full() { get full() {
return this.members.size >= this.userLimit; return this.userLimit > 0 && this.members.size >= this.userLimit;
} }
/** /**