This commit is contained in:
Calvin Montgomery 2017-04-03 20:31:21 -07:00
parent 5bdf8b4aaf
commit f42e3bf2b7
3 changed files with 8 additions and 1 deletions

View file

@ -212,6 +212,7 @@ User.prototype.setAFK = function (afk) {
this.setFlag(Flags.U_AFK);
if (this.channel.modules.voteskip) {
this.channel.modules.voteskip.unvote(this.realip);
this.socket.emit("clearVoteskipVote");
}
} else {
this.clearFlag(Flags.U_AFK);