Fix minor issue

This commit is contained in:
Calvin Montgomery 2014-07-13 11:15:56 -07:00
parent c213eb2f31
commit 1e38b05800
1 changed files with 1 additions and 1 deletions

View File

@ -1033,7 +1033,7 @@ PlaylistModule.prototype._leadLoop = function() {
return;
}
if (this.channel.dead) {
if (!this.channel || this.channel.dead) {
this.die();
return;
}