summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
-rw-r--r--src/modules/extra/m_ssl_mbedtls.cpp2
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
-rw-r--r--src/modules/extra/m_sslrehashsignal.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 6cafcae22..8cf2c7114 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -1369,7 +1369,7 @@ class ModuleSSLGnuTLS : public Module
void OnModuleRehash(User* user, const std::string &param) CXX11_OVERRIDE
{
- if (!irc::equals(param, "ssl"))
+ if (!irc::equals(param, "tls") && !irc::equals(param, "ssl"))
return;
try
diff --git a/src/modules/extra/m_ssl_mbedtls.cpp b/src/modules/extra/m_ssl_mbedtls.cpp
index 628230d29..006d09f15 100644
--- a/src/modules/extra/m_ssl_mbedtls.cpp
+++ b/src/modules/extra/m_ssl_mbedtls.cpp
@@ -939,7 +939,7 @@ class ModuleSSLmbedTLS : public Module
void OnModuleRehash(User* user, const std::string &param) CXX11_OVERRIDE
{
- if (!irc::equals(param, "ssl"))
+ if (!irc::equals(param, "tls") && !irc::equals(param, "ssl"))
return;
try
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index 30cabdf27..d4a3e24db 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -1056,7 +1056,7 @@ class ModuleSSLOpenSSL : public Module
void OnModuleRehash(User* user, const std::string &param) CXX11_OVERRIDE
{
- if (!irc::equals(param, "ssl"))
+ if (!irc::equals(param, "tls") && !irc::equals(param, "ssl"))
return;
try
diff --git a/src/modules/extra/m_sslrehashsignal.cpp b/src/modules/extra/m_sslrehashsignal.cpp
index b70deedfa..e5b7fe9a5 100644
--- a/src/modules/extra/m_sslrehashsignal.cpp
+++ b/src/modules/extra/m_sslrehashsignal.cpp
@@ -49,7 +49,7 @@ class ModuleSSLRehashSignal : public Module
ServerInstance->SNO->WriteGlobalSno('a', feedbackmsg);
ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, feedbackmsg);
- const std::string str = "ssl";
+ const std::string str = "tls";
FOREACH_MOD(OnModuleRehash, (NULL, str));
signaled = 0;
}