Fix user playlist add next

This commit is contained in:
calzoneman 2014-03-02 01:35:20 -06:00
parent 4f0094652b
commit 5082c84cc6
1 changed files with 1 additions and 1 deletions

View File

@ -1793,7 +1793,7 @@ Channel.prototype.handleQueuePlaylist = function (user, data) {
} }
var name = data.name; var name = data.name;
if (data.pos === "next" && !self.hasPermission(user, "playlistaddnext")) { if (data.pos === "next" && !self.hasPermission(user, "playlistnext")) {
return; return;
} }
var pos = data.pos || "end"; var pos = data.pos || "end";