Fixed ignoring GUILD_AVAILABLE event

This commit is contained in:
RogueException
2016-06-11 18:04:05 -03:00
parent e76f1c64c4
commit d05bdd7317

View File

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