From a3469378aacbb32bf1315313fa2cd510ca7035e8 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Wed, 21 May 2014 20:18:27 -0700 Subject: [PATCH] Minor fix --- lib/channel/playlist.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/channel/playlist.js b/lib/channel/playlist.js index d5c3bdfa..031aef23 100644 --- a/lib/channel/playlist.js +++ b/lib/channel/playlist.js @@ -200,6 +200,7 @@ PlaylistModule.prototype.onUserPostJoin = function (user) { PlaylistModule.prototype.onUserPart = function (user) { if (this.leader === user) { + this.leader = null; this.channel.broadcastAll("setLeader", ""); this.channel.logger.log("[playlist] Resuming autolead");