From d9d385f85e1f6863782e859e7b534860455b9d67 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Wed, 10 Aug 2016 23:10:37 -0700 Subject: [PATCH] Fix an age old log message missing whitespace --- src/channel/playlist.js | 2 +- src/utilities.js | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/channel/playlist.js b/src/channel/playlist.js index 6a023f71..71198070 100644 --- a/src/channel/playlist.js +++ b/src/channel/playlist.js @@ -675,7 +675,7 @@ PlaylistModule.prototype.handlePlayNext = function (user) { title = this.current.media.title; } - this.channel.logger.log("[playlist] " + user.getName() + " skipped" + title); + this.channel.logger.log("[playlist] " + user.getName() + " skipped " + title); this._playNext(); }; diff --git a/src/utilities.js b/src/utilities.js index cc107f66..5ca45a1c 100644 --- a/src/utilities.js +++ b/src/utilities.js @@ -297,8 +297,6 @@ var accumulator = ""; parts = parts.map(function (segment, i) { - if (i < 2) return segment; - var part = iphash(accumulator + segment + i, 3); accumulator += segment; return part; @@ -314,8 +312,6 @@ var accumulator = ""; parts = parts.map(function (segment, i) { - if (i < 2) return segment; - var part = iphash(accumulator + segment + i, 4); accumulator += segment; return part;