Browse Source

Fixed ignoring GUILD_AVAILABLE event

pull/97/head
RogueException 9 years ago
parent
commit
d05bdd7317
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/DiscordSocketClient.cs

+ 1
- 1
src/Discord.Net/DiscordSocketClient.cs View File

@@ -391,7 +391,7 @@ namespace Discord
{ {
guild = DataStore.GetGuild(data.Id); guild = DataStore.GetGuild(data.Id);
if (guild != null) if (guild != null)
guild.Update(data, UpdateSource.WebSocket);
guild.Update(data, UpdateSource.WebSocket, DataStore);
else else
{ {
await _gatewayLogger.WarningAsync($"{type} referenced an unknown guild.").ConfigureAwait(false); await _gatewayLogger.WarningAsync($"{type} referenced an unknown guild.").ConfigureAwait(false);


Loading…
Cancel
Save