mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2024-12-29 16:10:12 +08:00
Fixed isLimitedAccount and vacBanned (fixes #12)
This commit is contained in:
parent
2399a5b783
commit
deec5c52a4
@ -65,9 +65,9 @@ function CSteamUser(community, userData, customurl) {
|
||||
this.avatarHash = this.avatarHash[1];
|
||||
}
|
||||
|
||||
this.vacBanned = !!processItem('vacBanned', false);
|
||||
this.vacBanned = processItem('vacBanned', false) == 1;
|
||||
this.tradeBanState = processItem('tradeBanState', 'None');
|
||||
this.isLimitedAccount = !!processItem('isLimitedAccount');
|
||||
this.isLimitedAccount = processItem('isLimitedAccount') == 1;
|
||||
this.customURL = processItem('customURL', customurl);
|
||||
|
||||
if(this.visibilityState == 3) {
|
||||
|
Loading…
Reference in New Issue
Block a user