From 179784da3e7cc7d392545653aae916de4c5a056e Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sat, 1 Jan 2022 16:27:30 +0100 Subject: [PATCH] Possible fix for slowdown with inrole and xplb clean commands --- src/NadekoBot/Common/DownloadTracker.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/NadekoBot/Common/DownloadTracker.cs b/src/NadekoBot/Common/DownloadTracker.cs index a16f41156..14c2d0527 100644 --- a/src/NadekoBot/Common/DownloadTracker.cs +++ b/src/NadekoBot/Common/DownloadTracker.cs @@ -19,6 +19,9 @@ namespace NadekoBot.Common /// Task representing download state public async Task EnsureUsersDownloadedAsync(IGuild guild) { +#if !GLOBAL_NADEKO + return; +#endif await downloadUsersSemaphore.WaitAsync(); try {