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
1 changed files with 1 additions and 1 deletions

View File

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