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",
|
"author": "Calvin Montgomery",
|
||||||
"name": "CyTube",
|
"name": "CyTube",
|
||||||
"description": "Online media synchronizer and chat",
|
"description": "Online media synchronizer and chat",
|
||||||
"version": "3.30.2",
|
"version": "3.30.3",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "http://github.com/calzoneman/sync"
|
"url": "http://github.com/calzoneman/sync"
|
||||||
},
|
},
|
||||||
|
|
|
@ -333,7 +333,7 @@ Channel.prototype.joinUser = function (user, data) {
|
||||||
if (user.inChannel()) {
|
if (user.inChannel()) {
|
||||||
self.broadcastAll("setUserRank", {
|
self.broadcastAll("setUserRank", {
|
||||||
name: user.getName(),
|
name: user.getName(),
|
||||||
rank: rank
|
rank: user.account.effectiveRank
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue