summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-05 12:12:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-05 12:12:42 +0000
commit6d8f6bf5f6c8f8e747cb4ea4fde8a4fb0b18d4d1 (patch)
treef54aa278c9a08b00aced3760e4e82336e22aba1e /src/modules/extra
parent79cae85dd75d2b291c6964572cacfa047a16d3c6 (diff)
Fix random debian (well, duplicated on debian) breakage with client sockets 'hanging' on connect
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7654 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index c8cff3a21..357220b4e 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -500,9 +500,6 @@ class ModuleSSLGnuTLS : public Module
virtual int OnRawSocketWrite(int fd, const char* buffer, int count)
{
- if (!count)
- return 0;
-
issl_session* session = &sessions[fd];
const char* sendbuffer = buffer;