From 8640ecde98ee3cc0548e2be65d3c4d9a75c463b0 Mon Sep 17 00:00:00 2001 From: "callcraft456@gmail.com" Date: Thu, 25 Apr 2019 23:51:25 +0300 Subject: [PATCH] Fixed an issue causing caching issues on member update --- Gateway/EventDispatcher.pike | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gateway/EventDispatcher.pike b/Gateway/EventDispatcher.pike index ee60594..17bc4c0 100644 --- a/Gateway/EventDispatcher.pike +++ b/Gateway/EventDispatcher.pike @@ -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);