mirror of https://github.com/calzoneman/sync.git
Fix /afk breaking chat
This commit is contained in:
parent
12c2ef8669
commit
1d50eee225
|
@ -25,7 +25,7 @@ function handle(chan, user, msg, data) {
|
||||||
}
|
}
|
||||||
else if(msg.indexOf("/afk") == 0) {
|
else if(msg.indexOf("/afk") == 0) {
|
||||||
user.meta.afk = !user.meta.afk;
|
user.meta.afk = !user.meta.afk;
|
||||||
chan.broadcastRankUpdate(user);
|
chan.broadcastUserUpdate(user);
|
||||||
}
|
}
|
||||||
else if(msg.indexOf("/m ") == 0) {
|
else if(msg.indexOf("/m ") == 0) {
|
||||||
if(user.rank >= Rank.Moderator) {
|
if(user.rank >= Rank.Moderator) {
|
||||||
|
|
Loading…
Reference in New Issue