summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-19 16:03:06 +0200
committerattilamolnar <attilamolnar@hush.com>2012-07-21 16:00:30 +0200
commit77b42efc86122d3720f85bddd85a2dc80d0baff9 (patch)
tree66e1ff78133bca5be8d96b345fc5f02b73957f9d /src
parent3f5c635c38919396f6f31a5bcea5358314d01f83 (diff)
m_ssl_gnutls Add a config option that can be used to set the value of the SSL token in ISUPPORT
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp4
1 files changed, 4 insertions, 0 deletions
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];