From 6ee88d67aa6aa0997d84ab0c99b5c51b8dc8c52c Mon Sep 17 00:00:00 2001 From: Kyle Smith Date: Wed, 29 Jul 2015 18:32:44 -0500 Subject: [PATCH] LogOn needs to be steamUser --- lib/chatBot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chatBot.js b/lib/chatBot.js index 224a72bc..e19e029b 100644 --- a/lib/chatBot.js +++ b/lib/chatBot.js @@ -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)