aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/state.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/discord/state.py b/discord/state.py
index 5937fec3..a53674fd 100644
--- a/discord/state.py
+++ b/discord/state.py
@@ -83,8 +83,7 @@ class ChunkRequest:
future = self.loop.create_future()
self.waiters.append(future)
try:
- await future
- return True
+ return await future
finally:
self.waiters.remove(future)