Fix /afk breaking chat

This commit is contained in:
calzoneman 2013-05-12 23:35:25 -04:00
parent 12c2ef8669
commit 1d50eee225
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ function handle(chan, user, msg, data) {
}
else if(msg.indexOf("/afk") == 0) {
user.meta.afk = !user.meta.afk;
chan.broadcastRankUpdate(user);
chan.broadcastUserUpdate(user);
}
else if(msg.indexOf("/m ") == 0) {
if(user.rank >= Rank.Moderator) {