Reset AFK timer when returning from being AFK

This commit is contained in:
calzoneman 2013-07-29 20:02:31 -04:00
parent ba26d9abbb
commit 995b92ebed

View file

@ -85,6 +85,8 @@ User.prototype.setAFK = function (afk) {
return;
var chan = this.channel;
this.meta.afk = afk;
if(!afk)
this.autoAFK();
if(this.meta.afk)
chan.afkcount++;
else