Skip to content

Commit 032d277

Browse files
authored
Merge pull request #167 from wavpro/patch-2
appOwnershipCached is deprecated
2 parents 7a6a6e4 + b9ea8cc commit 032d277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class Bot extends EventEmitter {
132132

133133
// Ensure we own CSGO
134134
// We have to wait until app ownership is cached to safely check
135-
this.steamClient.once('appOwnershipCached', () => {
135+
this.steamClient.once('ownershipCached', () => {
136136
if (!this.steamClient.ownsApp(730)) {
137137
winston.info(`${this.username} doesn't own CS:GO, retrieving free license`);
138138

0 commit comments

Comments
 (0)