summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp4
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp6
-rw-r--r--src/userprocess.cpp1
3 files changed, 3 insertions, 8 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 0e70082e3..b9bc835d5 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -306,9 +306,7 @@ class ModuleSSLGnuTLS : public Module
CloseSession(session);
return 1;
}
-
- ServerInstance->Log(DEBUG, "m_ssl_gnutls.so: OnRawSocketRead(%d, buffer, %u, %d)", fd, count, readresult);
-
+
if (session->status == ISSL_HANDSHAKING_READ)
{
// The handshake isn't finished, try to finish it.
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index 12d67fcfa..5711891d7 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -330,7 +330,7 @@ class ModuleSSLOpenSSL : public Module
user->Shrink("ssl_cert");
}
}
-
+
virtual int OnRawSocketRead(int fd, char* buffer, unsigned int count, int &readresult)
{
issl_session* session = &sessions[fd];
@@ -343,8 +343,6 @@ class ModuleSSLOpenSSL : public Module
return 1;
}
- ServerInstance->Log(DEBUG, "m_ssl_openssl.so: OnRawSocketRead(%d, buffer, %u, %d)", fd, count, readresult);
-
if(session->status == ISSL_HANDSHAKING)
{
if(session->rstat == ISSL_READ || session->wstat == ISSL_READ)
@@ -368,7 +366,7 @@ class ModuleSSLOpenSSL : public Module
return -1;
}
}
-
+
// If we resumed the handshake then session->status will be ISSL_OPEN
if(session->status == ISSL_OPEN)
diff --git a/src/userprocess.cpp b/src/userprocess.cpp
index aaaf13710..10da15292 100644
--- a/src/userprocess.cpp
+++ b/src/userprocess.cpp
@@ -44,7 +44,6 @@ void InspIRCd::ProcessUser(userrec* cu)
try
{
MOD_RESULT = this->Config->GetIOHook(cu->GetPort())->OnRawSocketRead(cu->GetFd(),ReadBuffer,sizeof(ReadBuffer),result2);
- this->Log(DEBUG,"Data result returned by module: %d",MOD_RESULT);
}
catch (ModuleException& modexcept)
{