From dbe018e9e171beaa12ad2b0323e84bbdb96564a2 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Fri, 26 Mar 2021 16:02:31 +0100 Subject: [PATCH] ssl.CERT_NONE so ssl is usable for most people :) --- oyoyo/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oyoyo/client.py b/oyoyo/client.py index ef1c581..3227440 100644 --- a/oyoyo/client.py +++ b/oyoyo/client.py @@ -84,6 +84,7 @@ class IRCClient: """ self.context = ssl.create_default_context() self.context.check_hostname = False + self.context.verify_mode = ssl.CERT_NONE self.bare_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.socket = self.context.wrap_socket(self.bare_socket) self.nick = None