fix voteskip not setting afk to false

This commit is contained in:
Erik 2014-06-15 21:13:22 -04:00
parent 8152008466
commit 5b76d4fb8c

View file

@ -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();
}; };