Further fix to the irc bot.
This commit is contained in:
parent
bdd229afb4
commit
e12e4652dc
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ class IRCBotFactory(protocol.ReconnectingClientFactory):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if self.port:
|
if self.port:
|
||||||
if ssl:
|
if self.ssl:
|
||||||
try:
|
try:
|
||||||
from twisted.internet import ssl
|
from twisted.internet import ssl
|
||||||
service = reactor.connectSSL(self.network, int(self.port), self, ssl.ClientContextFactory())
|
service = reactor.connectSSL(self.network, int(self.port), self, ssl.ClientContextFactory())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue