Fix user playlist add next

This commit is contained in:
calzoneman 2014-03-02 01:35:20 -06:00
parent 4f0094652b
commit 5082c84cc6

View file

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