fix voteskip not setting afk to false
This commit is contained in:
parent
8152008466
commit
5b76d4fb8c
|
@ -47,9 +47,10 @@ VoteskipModule.prototype.handleVoteskip = function (user) {
|
||||||
title = " " + this.channel.modules.playlist.current.media.title;
|
title = " " + this.channel.modules.playlist.current.media.title;
|
||||||
}
|
}
|
||||||
|
|
||||||
var name = user.getName() || "(anonymous)"
|
var name = user.getName() || "(anonymous)";
|
||||||
|
|
||||||
this.channel.logger.log("[playlist] " + name + " voteskipped " + title);
|
this.channel.logger.log("[playlist] " + name + " voteskipped " + title);
|
||||||
|
user.setAFK(false);
|
||||||
this.update();
|
this.update();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue