From b7c1b6ebe6a5addb150582ac30221bc3e199bb7c Mon Sep 17 00:00:00 2001 From: abalabahaha Date: Mon, 1 Feb 2016 17:26:29 -0800 Subject: [PATCH] Simulate channel structure if user's voice channel was not found --- lib/Structures/Server.js | 2 +- src/Structures/Server.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Structures/Server.js b/lib/Structures/Server.js index e222b079f..a670d0f25 100644 --- a/lib/Structures/Server.js +++ b/lib/Structures/Server.js @@ -257,7 +257,7 @@ var Server = (function (_Equality) { return chan; } } - return this; + return { server: this }; }; Server.prototype.equalsStrict = function equalsStrict(obj) { diff --git a/src/Structures/Server.js b/src/Structures/Server.js index e3ce78f36..0084b1a56 100644 --- a/src/Structures/Server.js +++ b/src/Structures/Server.js @@ -208,7 +208,7 @@ export default class Server extends Equality { return chan; } } - return this; + return {server: this}; } equalsStrict(obj) {