mirror of https://github.com/calzoneman/sync.git
Minor fix
This commit is contained in:
parent
68475e2b30
commit
a3469378aa
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue