Implement Auto-AFK (#192)

- Channel-configurable delay
- User is marked AFK if no chat messages are received before the delay expires
- User is marked un-AFK if a chat message is received or if the user voteskips
This commit is contained in:
calzoneman 2013-07-28 17:58:22 -04:00
parent 1150d03474
commit 77a57d24c1
6 changed files with 60 additions and 20 deletions

View file

@ -69,7 +69,8 @@
externaljs: $("#opt_externaljs").val(),
chat_antiflood: $("#opt_chat_antiflood").prop("checked"),
show_public: $("#opt_show_public").prop("checked"),
enable_link_regex: $("#opt_enable_link_regex").prop("checked")
enable_link_regex: $("#opt_enable_link_regex").prop("checked"),
afk_timeout: parseInt($("#opt_afktimeout").val())
});
});