Skip to content

Commit

Permalink
Fix wrong warning about uncached members
Browse files Browse the repository at this point in the history
It's completely unproblematic, as long as it happened directly after
startup.
  • Loading branch information
Bastian committed Sep 27, 2020
1 parent 4b2906a commit 03b0f87
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -51,8 +51,7 @@ public void handle(JsonNode packet) {
api.addMemberToCacheOrReplaceExisting(newMember);

if (oldMember == null) {
// This should not happen
logger.warn("Failed to get old member in GUILD_MEMBER_UPDATE packet");
// Should only happen shortly after startup and is unproblematic
return;
}

Expand Down

0 comments on commit 03b0f87

Please sign in to comment.