mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 15:06:07 +00:00
Fix typo in voice server update state handling
This commit is contained in:
parent
a8134dfa16
commit
42e4a87374
@ -344,7 +344,7 @@ class VoiceConnectionState:
|
||||
|
||||
elif self.state is not ConnectionFlowState.disconnected:
|
||||
# eventual consistency
|
||||
if previous_token == self.token and previous_server_id == self.server_id and previous_token == self.token:
|
||||
if previous_token == self.token and previous_server_id == self.server_id and previous_endpoint == self.endpoint:
|
||||
return
|
||||
|
||||
_log.debug('Unexpected server update event, attempting to handle')
|
||||
|
Loading…
x
Reference in New Issue
Block a user