Compare commits
2 commits
310f933091
...
63542d32e3
| Author | SHA1 | Date | |
|---|---|---|---|
| 63542d32e3 | |||
| 8a01aecd71 |
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,6 @@ import threading
|
|||
|
||||
import irc.bot
|
||||
import irc.client
|
||||
import irc.connection
|
||||
|
||||
import nemubot.message as message
|
||||
from nemubot.server.threaded import ThreadedServer
|
||||
|
|
@ -279,6 +278,7 @@ class IRCLib(ThreadedServer):
|
|||
|
||||
if self._ssl:
|
||||
import ssl as ssl_mod
|
||||
import irc.connection
|
||||
ctx = ssl_mod.create_default_context()
|
||||
host = self._host # capture for closure
|
||||
connect_params["connect_factory"] = irc.connection.Factory(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue