diff --git a/channel.js b/channel.js index 750c647b..70e1ae51 100644 --- a/channel.js +++ b/channel.js @@ -1042,6 +1042,8 @@ Channel.prototype.enqueue = function(data, user, callback) { case "sc": InfoGetter.getMedia(data.id, data.type, function(err, media) { if(err) { + if(callback) + callback(); user.socket.emit("queueFail"); return; }