mirror of https://github.com/calzoneman/sync.git
Fix #363
This commit is contained in:
parent
0c9099e766
commit
2ce2467f4d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue