mirror of https://github.com/calzoneman/sync.git
Fix user playlist add next
This commit is contained in:
parent
4f0094652b
commit
5082c84cc6
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue