From 1e38b05800d3200de1537008215d5a7e8dd6851e Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sun, 13 Jul 2014 11:15:56 -0700 Subject: [PATCH] Fix minor issue --- lib/channel/playlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/channel/playlist.js b/lib/channel/playlist.js index a8a59109..fd3b3c90 100644 --- a/lib/channel/playlist.js +++ b/lib/channel/playlist.js @@ -1033,7 +1033,7 @@ PlaylistModule.prototype._leadLoop = function() { return; } - if (this.channel.dead) { + if (!this.channel || this.channel.dead) { this.die(); return; }