diff options
| author | Rapptz <[email protected]> | 2016-01-06 12:57:09 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-01-06 12:57:09 -0500 |
| commit | c1583dd7d6ce1402257d31b918c68c9be62431d0 (patch) | |
| tree | 770ba1be3c463b97f8dbc0bc0d21cd18116fb4df /discord/state.py | |
| parent | Remove excessive logging when using voice. (diff) | |
| download | discord.py-c1583dd7d6ce1402257d31b918c68c9be62431d0.tar.xz discord.py-c1583dd7d6ce1402257d31b918c68c9be62431d0.zip | |
Unavailable guilds get added to cache.
Diffstat (limited to 'discord/state.py')
| -rw-r--r-- | discord/state.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/discord/state.py b/discord/state.py index 8b6fc0c4..06ec6ffb 100644 --- a/discord/state.py +++ b/discord/state.py @@ -67,8 +67,6 @@ class ConnectionState: guilds = data.get('guilds') for guild in guilds: - if guild.get('unavailable', False): - continue self._add_server(guild) for pm in data.get('private_channels'): |