Fixes
This commit is contained in:
parent
0f4c29952f
commit
5b793710c3
5 changed files with 18 additions and 84 deletions
|
|
@ -2048,11 +2048,11 @@ Channel.prototype.handleJumpTo = function (user, data) {
|
|||
|
||||
var to = this.playlist.items.find(data);
|
||||
var title = "";
|
||||
if (to != null) {
|
||||
if (to !== false) {
|
||||
title = " to " + to.media.title;
|
||||
this.logger.log("[playlist] " + user.name + " skipped" + title);
|
||||
this.playlist.jump(data);
|
||||
}
|
||||
this.logger.log("[playlist] " + user.name + " skipped" + title);
|
||||
this.playlist.jump(data);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@ function static(dir) {
|
|||
req.header("user-agent").toLowerCase() === "zmeu") {
|
||||
res.send("This server disallows requests from ZmEu.");
|
||||
} else {
|
||||
res.send("The request " + req.route.method.toUpperCase() + " " +
|
||||
res.send("The request " + req.method.toUpperCase() + " " +
|
||||
req.path + " looks pretty fishy to me. Double check that " +
|
||||
"you typed it correctly.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue