From d948360f1711e35b12d05cbc1c45c414e13ac3ac Mon Sep 17 00:00:00 2001 From: TheKingEagle <30922258+rmsoftware-development@users.noreply.github.com> Date: Fri, 24 Apr 2020 11:10:25 -0400 Subject: [PATCH] Removed unnecessary statement; --- src/Discord.Net.WebSocket/DiscordSocketClient.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Discord.Net.WebSocket/DiscordSocketClient.cs b/src/Discord.Net.WebSocket/DiscordSocketClient.cs index 52b917041..eac1a3e1b 100644 --- a/src/Discord.Net.WebSocket/DiscordSocketClient.cs +++ b/src/Discord.Net.WebSocket/DiscordSocketClient.cs @@ -627,11 +627,8 @@ namespace Discord.WebSocket var guild = AddGuild(data, State); if (guild != null) { - if (_unavailableGuildCount != 0) - _unavailableGuildCount--; - - await GuildAvailableAsync(guild).ConfigureAwait(false); await TimedInvokeAsync(_joinedGuildEvent, nameof(JoinedGuild), guild).ConfigureAwait(false); + await GuildAvailableAsync(guild).ConfigureAwait(false); } else {