summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ssl_gnutls.cpp
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2020-04-12 22:59:22 -0600
committerMatt Schatz <genius3000@g3k.solutions>2020-04-14 06:08:31 -0600
commit6ce92e8eb0fa1bf253da2c16d3cd9cdede5899a6 (patch)
tree03dc9eef0679659b0d7e8d4d954ab80fe085b95a /src/modules/extra/m_ssl_gnutls.cpp
parentccebfe6e637b420bef05e8e0faf29bb19f1883d9 (diff)
Allow 'tls' to be used in /REHASH.
Diffstat (limited to 'src/modules/extra/m_ssl_gnutls.cpp')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
1 files changed, 1 insertions, 1 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