diff options
| author | Attila Molnar <attilamolnar@hush.com> | 2014-02-17 00:41:36 +0100 |
|---|---|---|
| committer | Attila Molnar <attilamolnar@hush.com> | 2014-02-17 00:41:36 +0100 |
| commit | 9c0134ee2c76fe7ff1509501b3904f9db9b29454 (patch) | |
| tree | 0412d074ec4216fe6dd7b7fb5e977cf109bbbf4b /modules | |
| parent | 959fee59377edc4eaf285d8e72d3c2c41e9fe3ab (diff) | |
Rename m_ssl to m_ssl_openssl and update docs
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/extra/m_ssl_openssl.cpp (renamed from modules/extra/m_ssl.cpp) | 4 | ||||
| -rw-r--r-- | modules/m_httpd.cpp | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/modules/extra/m_ssl.cpp b/modules/extra/m_ssl_openssl.cpp index 44971908c..a274dc78d 100644 --- a/modules/extra/m_ssl.cpp +++ b/modules/extra/m_ssl_openssl.cpp @@ -137,7 +137,7 @@ class SSLModule : public Module if (!SSL_CTX_use_certificate_file(client_ctx, this->certfile.c_str(), SSL_FILETYPE_PEM) || !SSL_CTX_use_certificate_file(server_ctx, this->certfile.c_str(), SSL_FILETYPE_PEM)) throw ConfigException("Error loading certificate"); else - Log(LOG_DEBUG) << "m_ssl: Successfully loaded certificate " << this->certfile; + Log(LOG_DEBUG) << "m_ssl_openssl: Successfully loaded certificate " << this->certfile; } else Log() << "Unable to open certificate " << this->certfile; @@ -147,7 +147,7 @@ class SSLModule : public Module if (!SSL_CTX_use_PrivateKey_file(client_ctx, this->keyfile.c_str(), SSL_FILETYPE_PEM) || !SSL_CTX_use_PrivateKey_file(server_ctx, this->keyfile.c_str(), SSL_FILETYPE_PEM)) throw ConfigException("Error loading private key"); else - Log(LOG_DEBUG) << "m_ssl: Successfully loaded private key " << this->keyfile; + Log(LOG_DEBUG) << "m_ssl_openssl: Successfully loaded private key " << this->keyfile; } else { diff --git a/modules/m_httpd.cpp b/modules/m_httpd.cpp index e08452d81..f3d0677a9 100644 --- a/modules/m_httpd.cpp +++ b/modules/m_httpd.cpp @@ -454,9 +454,6 @@ class HTTPD : public Module void OnModuleLoad(User *u, Module *m) anope_override { - if (m->name != "m_ssl") - return; - for (std::map<Anope::string, MyHTTPProvider *>::iterator it = this->providers.begin(), it_end = this->providers.end(); it != it_end; ++it) { MyHTTPProvider *p = it->second; |
