Fixed empty Guild.Channels

This commit is contained in:
RogueException
2016-07-20 20:49:28 -03:00
parent db0f839b32
commit 93441fb460

View File

@@ -65,7 +65,7 @@ namespace Discord
if (source == UpdateSource.Rest && IsAttached) return; if (source == UpdateSource.Rest && IsAttached) return;
_available = !(model.Unavailable ?? false); _available = !(model.Unavailable ?? false);
if (!Available) if (!_available)
{ {
if (_channels == null) if (_channels == null)
_channels = new ConcurrentHashSet<ulong>(); _channels = new ConcurrentHashSet<ulong>();