summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ssl_gnutls.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-06-16 02:53:22 +0100
committerSadie Powell <sadie@witchery.services>2020-06-16 03:14:32 +0100
commit6d3e316234f47468cd15bc9bdff66e2a76fa4cd6 (patch)
tree677fd97b02a0cf1f7c4727c733f63c8a9cd7c378 /src/modules/extra/m_ssl_gnutls.cpp
parent040b16dd6a9cab6ea1ec78eb2a402c7f29b1c09c (diff)
Improve SSL module debug logging.
Diffstat (limited to 'src/modules/extra/m_ssl_gnutls.cpp')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 5452a29ae..0846aaa2d 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -1319,7 +1319,10 @@ class ModuleSSLGnuTLS : public Module
{
ConfigTag* tag = i->second;
if (!stdalgo::string::equalsci(tag->getString("provider"), "gnutls"))
+ {
+ ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "Ignoring non-GnuTLS <sslprofile> tag at " + tag->getTagLocation());
continue;
+ }
std::string name = tag->getString("name");
if (name.empty())