diff options
| author | 2020-12-20 03:04:21 +0000 | |
|---|---|---|
| committer | 2020-12-20 03:05:29 +0000 | |
| commit | 6cfabb0064cab52bbbab59974e53dc0fa1954da7 (patch) | |
| tree | aa755e92103730ba6428332b4094578cde91cc67 /src/modules/m_sslinfo.cpp | |
| parent | Fix an inverted condition in the previous commit. (diff) | |
Hide the server name/desc better when <options:hideserver> is set.
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
| -rw-r--r-- | src/modules/m_sslinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index 0054e3ed7..bbbc9ba64 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -294,7 +294,7 @@ class ModuleSSLInfo std::string text = "*** You are connected to "; if (!ssliohook->GetServerName(text)) - text.append(ServerInstance->Config->ServerName); + text.append(ServerInstance->Config->GetServerName()); text.append(" using TLS (SSL) cipher '"); ssliohook->GetCiphersuite(text); text.push_back('\''); |
