Skip to content
This repository has been archived by the owner on Oct 27, 2019. It is now read-only.

Commit

Permalink
Merge pull request #18 from TheOnlyArtz/master
Browse files Browse the repository at this point in the history
Fixed an issue causing caching issues on member update
  • Loading branch information
TheOnlyArtz authored Apr 25, 2019
2 parents 7032761 + 8640ecd commit 59f62ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gateway/EventDispatcher.pike
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class EventDispatcher {
Guild guild = restUtils->fetchCacheGuild(data.guild_id, client);
if (!guild) return;

GuildMember cached = restUtils->fetchCacheUser(data.user.id, client);
GuildMember cached = restUtils->fetchCacheGuildMember(data.user.id, client, guild);
if (!cached) return;

GuildMember newMember = GuildMember(client, guild, data);
Expand Down

0 comments on commit 59f62ac

Please sign in to comment.