Compare commits
2 commits
63542d32e3
...
310f933091
| Author | SHA1 | Date | |
|---|---|---|---|
| 310f933091 | |||
| 26282cb81d |
1 changed files with 1 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ import threading
|
|||
|
||||
import irc.bot
|
||||
import irc.client
|
||||
import irc.connection
|
||||
|
||||
import nemubot.message as message
|
||||
from nemubot.server.threaded import ThreadedServer
|
||||
|
|
@ -278,7 +279,6 @@ 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