From 0b495d3b126152dcee88a51bf86b27b6c2901ffe Mon Sep 17 00:00:00 2001 From: Remco Date: Mon, 22 Feb 2016 10:45:00 +0100 Subject: [PATCH] Whoops x4 I'll check my code better from now on --- runtime/djlogic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/djlogic.js b/runtime/djlogic.js index 85c7db982..caba6efff 100644 --- a/runtime/djlogic.js +++ b/runtime/djlogic.js @@ -177,7 +177,7 @@ exports.expSkip = function(bot, message) { bot.reply(message, "Not in voice right now."); } if (!message.channel.equals(boundChannel)) return; - if (playlistid.length === 0) { + if (playlistid.length === 1) { bot.reply(message, "Ending playlist, as the skipped song is the last one in the playlist."); bot.voiceConnection.destroy(); playlistid = [];