ssl.wrap_socket() was removed in Python 3.12 (#7542) * ssl.wrap_socket() was removed in Python 3.12. * Make code for irc module backwards-compatible. (cherry picked from commit 21cd65fccf) Co-authored-by: Felix Fontein <felix@fontein.de>
21cd65fccf