Correct IRC certificate file

This commit is contained in:
Mark Veidemanis 2021-12-24 17:35:41 +00:00
parent 48b1871cf8
commit 480e1298cd
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -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