Skip to content

Commit

Permalink
Whoops x4
Browse files Browse the repository at this point in the history
I'll check my code better from now on
  • Loading branch information
Remco authored and Remco committed Feb 22, 2016
1 parent a9090b7 commit 0b495d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/djlogic.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit 0b495d3

Please sign in to comment.