Correct IRC certificate file
This commit is contained in:
parent
48b1871cf8
commit
480e1298cd
|
@ -133,7 +133,7 @@ class IRCBotFactory(protocol.ClientFactory):
|
||||||
|
|
||||||
|
|
||||||
def bot():
|
def bot():
|
||||||
context = ssl.DefaultOpenSSLContextFactory("./cert.pem", "./cert.pem")
|
context = ssl.DefaultOpenSSLContextFactory(settings.IRC.Cert, settings.IRC.Cert)
|
||||||
factory = IRCBotFactory()
|
factory = IRCBotFactory()
|
||||||
reactor.connectSSL(settings.IRC.Host, int(settings.IRC.Port), factory, context)
|
reactor.connectSSL(settings.IRC.Host, int(settings.IRC.Port), factory, context)
|
||||||
return factory
|
return factory
|
||||||
|
|
Loading…
Reference in New Issue