aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-04-15 23:26:33 -0400
committerRapptz <[email protected]>2016-04-15 23:27:23 -0400
commit8d7dd79673a35c4977c285324b36738e1e6c82f7 (patch)
tree429d946d87b92e4ee979e6f3620b4facb3c30473 /discord/client.py
parentTypo fix (diff)
downloaddiscord.py-8d7dd79673a35c4977c285324b36738e1e6c82f7.tar.xz
discord.py-8d7dd79673a35c4977c285324b36738e1e6c82f7.zip
Fix deadlock issue when joining large guilds.
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/discord/client.py b/discord/client.py
index c359509a..2d17c62b 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -378,8 +378,6 @@ class Client:
log.info('Unhandled event {}'.format(event))
else:
result = func(data)
- if asyncio.iscoroutine(result):
- yield from result
@asyncio.coroutine
def _make_websocket(self, initial=True):