This commit is contained in:
calzoneman 2014-02-28 08:43:04 -06:00
parent 0f4c29952f
commit 5b793710c3
5 changed files with 18 additions and 84 deletions

View file

@ -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);
};
/**

View file

@ -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.");
}