Fix race condition for siteadmin rank socket frames

This commit is contained in:
Calvin Montgomery 2017-03-03 23:34:27 -08:00
parent 6672f5f75e
commit aea456436e
2 changed files with 2 additions and 2 deletions

View file

@ -333,7 +333,7 @@ Channel.prototype.joinUser = function (user, data) {
if (user.inChannel()) {
self.broadcastAll("setUserRank", {
name: user.getName(),
rank: rank
rank: user.account.effectiveRank
});
}
}