From 05066eb189e177c4385d3f19a5181473331e7f87 Mon Sep 17 00:00:00 2001 From: Matt Schatz Date: Wed, 13 Nov 2019 07:28:12 -0700 Subject: SSL modules: send SNOTICE upon successful rehash. --- src/modules/extra/m_ssl_gnutls.cpp | 1 + src/modules/extra/m_ssl_mbedtls.cpp | 1 + src/modules/extra/m_ssl_openssl.cpp | 1 + 3 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index a3690faae..fd8d62f83 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -1365,6 +1365,7 @@ class ModuleSSLGnuTLS : public Module try { ReadProfiles(); + ServerInstance->SNO->WriteToSnoMask('a', "SSL module %s rehashed.", MODNAME); } catch (ModuleException& ex) { diff --git a/src/modules/extra/m_ssl_mbedtls.cpp b/src/modules/extra/m_ssl_mbedtls.cpp index 5c7bcf9fa..0ad2bedf4 100644 --- a/src/modules/extra/m_ssl_mbedtls.cpp +++ b/src/modules/extra/m_ssl_mbedtls.cpp @@ -932,6 +932,7 @@ class ModuleSSLmbedTLS : public Module try { ReadProfiles(); + ServerInstance->SNO->WriteToSnoMask('a', "SSL module %s rehashed.", MODNAME); } catch (ModuleException& ex) { diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 08316f196..59e65f526 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -1055,6 +1055,7 @@ class ModuleSSLOpenSSL : public Module try { ReadProfiles(); + ServerInstance->SNO->WriteToSnoMask('a', "SSL module %s rehashed.", MODNAME); } catch (ModuleException& ex) { -- cgit v1.2.3