mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-02 00:00:02 +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:
|
elif self.state is not ConnectionFlowState.disconnected:
|
||||||
# eventual consistency
|
# 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
|
return
|
||||||
|
|
||||||
_log.debug('Unexpected server update event, attempting to handle')
|
_log.debug('Unexpected server update event, attempting to handle')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user