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)