mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-02 00:00:02 +00:00
parent
fc951873a1
commit
a9824ffabf
@ -187,8 +187,9 @@ class VoiceClient:
|
||||
'If timeout occurred considering raising the timeout and reconnecting.')
|
||||
return
|
||||
|
||||
self.endpoint = endpoint.replace(':80', '')
|
||||
self.endpoint_ip = socket.gethostbyname(self.endpoint)
|
||||
self.endpoint, _, _ = endpoint.rpartition(':')
|
||||
# This gets set later
|
||||
self.endpoint_ip = None
|
||||
|
||||
if self.socket:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user