Skip to content

Commit

Permalink
Merge pull request #167 from wavpro/patch-2
Browse files Browse the repository at this point in the history
appOwnershipCached is deprecated
  • Loading branch information
Step7750 authored Oct 21, 2023
2 parents 7a6a6e4 + b9ea8cc commit 032d277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class Bot extends EventEmitter {

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

Expand Down

0 comments on commit 032d277

Please sign in to comment.