From 93d8ec3e8773ca1a0120daf2bc8ef9ce55d4eb7b Mon Sep 17 00:00:00 2001 From: Peter Vu Date: Mon, 16 Jan 2017 23:36:29 -0500 Subject: [PATCH] VoiceChannel#full fix on no limit channel for joinable (#1106) * VoiceChannel#full fix on no limit channel for joinable * Update VoiceChannel.js --- src/structures/VoiceChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/VoiceChannel.js b/src/structures/VoiceChannel.js index e6d5b637f..b69279c8e 100644 --- a/src/structures/VoiceChannel.js +++ b/src/structures/VoiceChannel.js @@ -50,7 +50,7 @@ class VoiceChannel extends GuildChannel { * @type {boolean} */ get full() { - return this.members.size >= this.userLimit; + return this.userLimit > 0 && this.members.size >= this.userLimit; } /**