Using ws.connection.status rather than undefined ws.status (#1429)

This commit is contained in:
SpaceEEC
2017-04-28 21:27:30 +02:00
committed by Crawl
parent 9ee695a291
commit 956372731f
2 changed files with 3 additions and 3 deletions

View File

@@ -190,7 +190,7 @@ class Client extends EventEmitter {
* @readonly
*/
get status() {
return this.ws.status;
return this.ws.connection.status;
}
/**