diff options
| author | 2009-03-13 23:16:34 +0000 | |
|---|---|---|
| committer | 2009-03-13 23:16:34 +0000 | |
| commit | c0487eae4c730f2b607b397fcb0bb7a6db7d7f4f (patch) | |
| tree | 78bfec951bab7b1bbc7a38ef64a0be89cfad828f /src/modules | |
| parent | Follow-up fix to r11081. Escalate minimum privileges from '%' to '@' if halfo... (diff) | |
| download | inspircd++-c0487eae4c730f2b607b397fcb0bb7a6db7d7f4f.tar.gz inspircd++-c0487eae4c730f2b607b397fcb0bb7a6db7d7f4f.tar.bz2 inspircd++-c0487eae4c730f2b607b397fcb0bb7a6db7d7f4f.zip | |
Fix bug #779, SSL metadata sent using the wrong case. Thanks HiroP
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11213 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/extra/m_ssl_gnutls.cpp | 2 | ||||
| -rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index 6ee30ecfb..6d8b6e366 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -696,7 +696,7 @@ class ModuleSSLGnuTLS : public Module if (user->GetIOHook() == this && (IS_LOCAL(user))) { // Tell whatever protocol module we're using that we need to inform other servers of this metadata NOW. - ServerInstance->PI->SendMetaData(user, TYPE_USER, "SSL", "on"); + ServerInstance->PI->SendMetaData(user, TYPE_USER, "ssl", "on"); VerifyCertificate(&sessions[user->GetFd()],user); if (sessions[user->GetFd()].sess) diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index b5a2741f9..d49752bd7 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -778,7 +778,7 @@ class ModuleSSLOpenSSL : public Module if ((user->GetIOHook() == this) && (IS_LOCAL(user))) { // Tell whatever protocol module we're using that we need to inform other servers of this metadata NOW. - ServerInstance->PI->SendMetaData(user, TYPE_USER, "SSL", "on"); + ServerInstance->PI->SendMetaData(user, TYPE_USER, "ssl", "on"); VerifyCertificate(&sessions[user->GetFd()], user); if (sessions[user->GetFd()].sess) |
