From 42e1f35df22442573ecf2d116c4d1ebad75c1f28 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sat, 1 Jan 2022 16:28:16 +0100 Subject: [PATCH] Removed useless #if --- src/NadekoBot/Modules/Utility/Utility.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/NadekoBot/Modules/Utility/Utility.cs b/src/NadekoBot/Modules/Utility/Utility.cs index 4159a4711..77d74af7a 100644 --- a/src/NadekoBot/Modules/Utility/Utility.cs +++ b/src/NadekoBot/Modules/Utility/Utility.cs @@ -109,9 +109,7 @@ namespace NadekoBot.Modules.Utility await _tracker.EnsureUsersDownloadedAsync(ctx.Guild).ConfigureAwait(false); var users = await ctx.Guild.GetUsersAsync( - #if GLOBAL_NADEKO CacheMode.CacheOnly - #endif ); var roleUsers = users .Where(u => role is null ? u.RoleIds.Count == 1 : u.RoleIds.Contains(role.Id))