diff options
Diffstat (limited to 'src/modules/extra/m_ssl_openssl.cpp')
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index b9e23ba0b..53e873641 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -188,7 +188,7 @@ class ModuleSSLOpenSSL : public Module int portint = 0; irc::sockets::sockaddrs bin; if (irc::sockets::aptosa(addr.c_str(), portint, &bin)) - irc::sockets::satoap(addr, portint, &bin); + irc::sockets::satoap(&bin, addr, portint); } irc::portparser portrange(port, false); |