From 9de4990d69ee56518f500520aa344e85d1b2d61c Mon Sep 17 00:00:00 2001 From: jkhsjdhjs Date: Sun, 16 Jul 2023 23:38:37 +0000 Subject: [PATCH] connect via ipv6 --- bert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bert.py b/bert.py index e9283f6..50fa731 100755 --- a/bert.py +++ b/bert.py @@ -39,7 +39,7 @@ r = "\x034" g = "\x033" context = ssl.create_default_context() -with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: +with socket.socket(socket.AF_INET6, socket.SOCK_STREAM) as sock: irc = context.wrap_socket(sock, server_hostname=host)