summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2019-11-13 07:28:12 -0700
committerP. Powell <petpow@saberuk.com>2019-11-15 10:21:10 +0000
commit05066eb189e177c4385d3f19a5181473331e7f87 (patch)
treed88fb706cccba59e2ccd59dc43ff9f6e47901005 /src/modules
parentfe87ef196773cc9adf7aacc01e3efe094ed387a5 (diff)
SSL modules: send SNOTICE upon successful rehash.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp1
-rw-r--r--src/modules/extra/m_ssl_mbedtls.cpp1
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp1
3 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 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)
{