From 91ae72a2ba17661a9b38b5195801e84e05891329 Mon Sep 17 00:00:00 2001 From: Navy Date: Sun, 20 Jun 2021 17:06:40 +0300 Subject: [PATCH] bugfix --- structure/ChannelHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/ChannelHandler.js b/structure/ChannelHandler.js index d772ec8..a15c423 100644 --- a/structure/ChannelHandler.js +++ b/structure/ChannelHandler.js @@ -79,7 +79,7 @@ class ChannelHandler { await channel.edit({ parentID: this.readMail.id, lockPermissions: true }); if (!this.cache.updatedThreads.includes(target)) this.cache.updatedThreads.push(target); - if (this.cache.queue.includes(target)) this.queue.splice(this.cache.queue.indexOf(target), 1); + if (this.cache.queue.includes(target)) this.cache.queue.splice(this.cache.queue.indexOf(target), 1); return {}; }