aboutsummaryrefslogtreecommitdiff
path: root/discord/state.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-01-06 12:57:09 -0500
committerRapptz <[email protected]>2016-01-06 12:57:09 -0500
commitc1583dd7d6ce1402257d31b918c68c9be62431d0 (patch)
tree770ba1be3c463b97f8dbc0bc0d21cd18116fb4df /discord/state.py
parentRemove excessive logging when using voice. (diff)
downloaddiscord.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.py2
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'):