mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-02-06 00:17:22 +08:00
commit
5c37c38dda
@ -124,7 +124,7 @@ SteamCommunity.prototype._checkCommunityError = function(html, callback) {
|
||||
return err;
|
||||
}
|
||||
|
||||
if (typeof html === 'string' && html.indexOf('g_steamID = false;') > -1 && html.indexOf('<div class="login_title">Sign In</div>') > -1) {
|
||||
if (typeof html === 'string' && html.indexOf('g_steamID = false;') > -1 && html.indexOf('<title>Sign In</title>') > -1) {
|
||||
err = new Error("Not Logged In");
|
||||
callback(err);
|
||||
this._notifySessionExpired(err);
|
||||
|
Loading…
Reference in New Issue
Block a user