Skip to content

Commit

Permalink
fix: always emit guildUnavailable when a guild becomes unavailable (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC authored Mar 21, 2020
1 parent 645e09e commit 2157401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/actions/GuildDelete.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class GuildDeleteAction extends Action {
if (channel.type === 'text') channel.stopTyping(true);
}

if (guild.available && data.unavailable) {
if (data.unavailable) {
// Guild is unavailable
guild.available = false;

Expand Down

0 comments on commit 2157401

Please sign in to comment.