From 95ec05f6e56da4d124a3e8a0483449173734c4e3 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 13 May 2020 18:44:41 -0400 Subject: [PATCH] Fix --- structures/phone/PhoneCall.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structures/phone/PhoneCall.js b/structures/phone/PhoneCall.js index d1594520..aefb3395 100644 --- a/structures/phone/PhoneCall.js +++ b/structures/phone/PhoneCall.js @@ -59,7 +59,7 @@ module.exports = class PhoneCall { send(channel, msg, hasText, hasImage, hasEmbed) { if (msg.content && msg.content.toLowerCase() === 'hang up') { - if (this.ownerOrigin && channel.id !== this.origin.id) { + if (this.ownerOrigin && channel.id === this.origin.id) { return this.recipient.send('☎️ You cannot hang up in an admin call.'); } return this.hangup(channel);