From 995b92ebedc4b41737e0dd32b14d1f47634a66e3 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Mon, 29 Jul 2013 20:02:31 -0400 Subject: [PATCH] Reset AFK timer when returning from being AFK --- user.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user.js b/user.js index 64315a8a..8dec1941 100644 --- a/user.js +++ b/user.js @@ -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