mirror of https://github.com/calzoneman/sync.git
Fix race condition for siteadmin rank socket frames
This commit is contained in:
parent
6672f5f75e
commit
aea456436e
|
@ -2,7 +2,7 @@
|
|||
"author": "Calvin Montgomery",
|
||||
"name": "CyTube",
|
||||
"description": "Online media synchronizer and chat",
|
||||
"version": "3.30.2",
|
||||
"version": "3.30.3",
|
||||
"repository": {
|
||||
"url": "http://github.com/calzoneman/sync"
|
||||
},
|
||||
|
|
|
@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue