1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 20:03:12 +02:00

Add a module log type

This commit is contained in:
Adam
2012-10-27 08:12:04 -04:00
parent bb5f4555dc
commit d6e1b92059
21 changed files with 75 additions and 59 deletions
+2 -2
View File
@@ -122,7 +122,7 @@ class SSLModule : public Module
Log(LOG_DEBUG) << "m_ssl: Successfully loaded certificate " << this->certfile;
}
else
Log() << "m_ssl: Unable to open certificate " << this->certfile;
Log() << "Unable to open certificate " << this->certfile;
if (IsFile(this->keyfile.c_str()))
{
@@ -144,7 +144,7 @@ class SSLModule : public Module
throw ModuleException("Error loading private key " + this->keyfile + " - file not found");
}
else
Log() << "m_ssl: Unable to open private key " << this->keyfile;
Log() << "Unable to open private key " << this->keyfile;
}
SSL_CTX_set_mode(client_ctx, SSL_MODE_ENABLE_PARTIAL_WRITE | SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER);