Merge pull request #521 from OurFlagIsMined/patch-1

more than one Play click deleted a playlist item
This commit is contained in:
Calvin Montgomery 2015-10-25 17:24:33 -07:00
commit 428007c3f8

View file

@ -646,7 +646,7 @@ PlaylistModule.prototype.handleJumpTo = function (user, data) {
this.startPlayback();
this.channel.logger.log("[playlist] " + user.getName() + " skipped " + title);
if (old && old.temp) {
if (old && old.temp && old !== to) {
this._delete(old.uid);
}
}