From 6d8f6bf5f6c8f8e747cb4ea4fde8a4fb0b18d4d1 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 5 Aug 2007 12:12:42 +0000 Subject: 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 --- src/modules/extra/m_ssl_gnutls.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/modules/extra') 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; -- cgit v1.2.3