Correct IRC certificate file
This commit is contained in:
parent
48b1871cf8
commit
480e1298cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue