Further fix to the irc bot.

This commit is contained in:
Griatch 2016-04-04 22:15:30 +02:00
parent bdd229afb4
commit e12e4652dc

View file

@ -311,7 +311,7 @@ class IRCBotFactory(protocol.ReconnectingClientFactory):
"""
if self.port:
if ssl:
if self.ssl:
try:
from twisted.internet import ssl
service = reactor.connectSSL(self.network, int(self.port), self, ssl.ClientContextFactory())