diff options
| author | Adam <Adam@anope.org> | 2010-08-27 20:56:28 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-08-27 20:56:28 -0400 |
| commit | c2ddecc2b1dbc9d055166bdf296da2e4536f74f6 (patch) | |
| tree | 9b98582630a2debab628e23d4d796885f50ada74 /modules/extra/m_ssl.cpp | |
| parent | 73fb94c55344b6ad788c925bf13325236402891f (diff) | |
Added a new logging system
Diffstat (limited to 'modules/extra/m_ssl.cpp')
| -rw-r--r-- | modules/extra/m_ssl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/extra/m_ssl.cpp b/modules/extra/m_ssl.cpp index 397facd7d..5e081c193 100644 --- a/modules/extra/m_ssl.cpp +++ b/modules/extra/m_ssl.cpp @@ -84,7 +84,7 @@ class SSLModule : public Module } } else - Alog() << "m_ssl: No certificate file found"; + Log() << "m_ssl: No certificate file found"; if (IsFile(KEYFILE)) { @@ -102,7 +102,7 @@ class SSLModule : public Module throw ModuleException("Error loading private key - file not found"); } else - Alog() << "m_ssl: No private key found"; + Log() << "m_ssl: No private key found"; } this->SetAuthor("Anope"); @@ -129,11 +129,11 @@ class SSLModule : public Module try { new SSLSocket(u->host, u->port, Config->LocalHost, u->ipv6); - Alog() << "Connected to Server " << Number << " (" << u->host << ":" << u->port << ")"; + Log() << "Connected to Server " << Number << " (" << u->host << ":" << u->port << ")"; } catch (const SocketException &ex) { - Alog() << "Unable to connect with SSL to server" << Number << " (" << u->host << ":" << u->port << "), " << ex.GetReason(); + Log() << "Unable to connect with SSL to server" << Number << " (" << u->host << ":" << u->port << "), " << ex.GetReason(); } return EVENT_ALLOW; |
