|
@ -187,8 +187,9 @@ class VoiceClient: |
|
|
'If timeout occurred considering raising the timeout and reconnecting.') |
|
|
'If timeout occurred considering raising the timeout and reconnecting.') |
|
|
return |
|
|
return |
|
|
|
|
|
|
|
|
self.endpoint = endpoint.replace(':80', '') |
|
|
self.endpoint, _, _ = endpoint.rpartition(':') |
|
|
self.endpoint_ip = socket.gethostbyname(self.endpoint) |
|
|
# This gets set later |
|
|
|
|
|
self.endpoint_ip = None |
|
|
|
|
|
|
|
|
if self.socket: |
|
|
if self.socket: |
|
|
try: |
|
|
try: |
|
|