Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
LogOn needs to be steamUser
Browse files Browse the repository at this point in the history
  • Loading branch information
kjsmita6 committed Jul 29, 2015
1 parent ae80d90 commit 6ee88d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/chatBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,14 +221,14 @@ ChatBot.prototype.logOn = function() {
.digest();
}
if(this.guardCode) {
this.steamClient.logOn({
this.steamUser.logOn({
account_name: this.username,
password: this.password,
auth_code: this.guardCode,
sha_sentryfile: (fs.existsSync(this.sentryFile) ? sha : undefined)
});
} else {
this.steamClient.logOn({
this.steamUser.logOn({
account_name: this.username,
password: this.password,
sha_sentryfile: (fs.existsSync(this.sentryFile) ? sha : undefined)
Expand Down

0 comments on commit 6ee88d6

Please sign in to comment.