Browse Source

Fixed empty Guild.Channels

pull/141/head
RogueException 9 years ago
parent
commit
93441fb460
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/Entities/WebSocket/CachedGuild.cs

+ 1
- 1
src/Discord.Net/Entities/WebSocket/CachedGuild.cs View File

@@ -65,7 +65,7 @@ namespace Discord
if (source == UpdateSource.Rest && IsAttached) return;

_available = !(model.Unavailable ?? false);
if (!Available)
if (!_available)
{
if (_channels == null)
_channels = new ConcurrentHashSet<ulong>();


Loading…
Cancel
Save