This commit is contained in:
Calvin Montgomery 2014-05-21 20:09:10 -07:00
parent 0c9099e766
commit 2ce2467f4d

View file

@ -199,7 +199,7 @@ ChatModule.prototype.handlePm = function (user, data) {
};
ChatModule.prototype.processChatMsg = function (user, data) {
if (data.msg.indexOf("/afk") !== 0) {
if (data.msg.indexOf("/afk") === -1) {
user.setAFK(false);
}