From 652a1f582784312d05576d633bde149e09d43f4d Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Mon, 19 Jul 2021 22:39:14 +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 319669e..4f6ada0 100644 --- a/structure/ChannelHandler.js +++ b/structure/ChannelHandler.js @@ -243,7 +243,7 @@ class ChannelHandler { }); if (_cached) { const [userId] = _cached; - delete chCache[userId]; + delete this.modmail.cache.channels[userId]; } }).catch((err) => { this.client.logger.error(`Failed to delete channel from graveyard during sweep:\n${err.stack}`);