diff --git a/components/http.js b/components/http.js index ada2f85..5be5a46 100644 --- a/components/http.js +++ b/components/http.js @@ -124,7 +124,7 @@ SteamCommunity.prototype._checkCommunityError = function(html, callback) { return err; } - if (typeof html === 'string' && html.indexOf('g_steamID = false;') > -1 && html.indexOf('
Sign In
') > -1) { + if (typeof html === 'string' && html.indexOf('g_steamID = false;') > -1 && html.indexOf('Sign In') > -1) { err = new Error("Not Logged In"); callback(err); this._notifySessionExpired(err);