diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_sslinfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index 1a4b5c9a2..fc92bb17a 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -250,10 +250,12 @@ class ModuleSSLInfo : public Module, public Whois::EventListener if (myclass->config->getString("requiressl") == "trusted") { ok = (cert && cert->IsCAVerified()); + ServerInstance->Logs->Log("CONNECTCLASS", LOG_DEBUG, "Class requires a trusted SSL cert. Client %s one.", (ok ? "has" : "does not have")); } else if (myclass->config->getBool("requiressl")) { ok = (cert != NULL); + ServerInstance->Logs->Log("CONNECTCLASS", LOG_DEBUG, "Class requires any SSL cert. Client %s one.", (ok ? "has" : "does not have")); } if (!ok) |