Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
manager.setCookies(cookies, function (err) {
if (err) {
utils.fatal(log, 'This account is limited, you can\'t use it for trading.');
}
if (!started) {
started = true;
initializePackages();
community.profileSettings({
inventory: SteamCommunity.PrivacyState.Public,
gameDetails: SteamCommunity.PrivacyState.Public
});
}
Friends.getLimit(function (err) {
if (err) {
log.debug(err);
}
});
});
}
manager.setCookies(cookies, function (err) {
if (err) {
utils.fatal(log, 'This account is limited, you can\'t use it for trading.');
}
if (!started) {
started = true;
initializePackages();
community.profileSettings({
inventory: SteamCommunity.PrivacyState.Public,
gameDetails: SteamCommunity.PrivacyState.Public
});
}
Friends.getLimit(function (err) {
if (err) {
log.debug(err);
}
});
});
}