From 77b42efc86122d3720f85bddd85a2dc80d0baff9 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 19 Jul 2012 16:03:06 +0200 Subject: m_ssl_gnutls Add a config option that can be used to set the value of the SSL token in ISUPPORT --- src/modules/extra/m_ssl_gnutls.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/modules') diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index c631642ce..df77d8ae4 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -214,6 +214,10 @@ class ModuleSSLGnuTLS : public Module if (Conf->getBool("showports", true)) { + sslports = Conf->getString("advertisedports"); + if (!sslports.empty()) + return; + for (size_t i = 0; i < ServerInstance->ports.size(); i++) { ListenSocket* port = ServerInstance->ports[i]; -- cgit v1.2.3