Random nonexistent object reference fixed

This commit is contained in:
abalabahaha
2016-02-19 00:02:08 -08:00
parent 5c9865fc3c
commit 78b18de1e1
2 changed files with 4 additions and 4 deletions

View File

@@ -1098,8 +1098,8 @@ var InternalClient = (function () {
this.sendWS(packet);
this.bot.user.status = this.idleStatus;
this.bot.user.game = this.game;
this.user.status = this.idleStatus;
this.user.game = this.game;
return Promise.resolve();
};

View File

@@ -922,8 +922,8 @@ export default class InternalClient {
this.sendWS(packet);
this.bot.user.status = this.idleStatus;
this.bot.user.game = this.game;
this.user.status = this.idleStatus;
this.user.game = this.game;
return Promise.resolve();