From 480e1298cde5f9605522fdc833cc538932fbf0e1 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 24 Dec 2021 17:35:41 +0000 Subject: [PATCH] Correct IRC certificate file --- handler/irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/irc.py b/handler/irc.py index c794839..5a19fea 100644 --- a/handler/irc.py +++ b/handler/irc.py @@ -133,7 +133,7 @@ class IRCBotFactory(protocol.ClientFactory): def bot(): - context = ssl.DefaultOpenSSLContextFactory("./cert.pem", "./cert.pem") + context = ssl.DefaultOpenSSLContextFactory(settings.IRC.Cert, settings.IRC.Cert) factory = IRCBotFactory() reactor.connectSSL(settings.IRC.Host, int(settings.IRC.Port), factory, context) return factory