summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-10 01:52:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-10 01:52:34 +0000
commit0c676f5f33eda2cac961b2fe4bb12a4a6637c584 (patch)
tree95865b7385de5e39b25141de8c86f28b1f18725f /src/modules
parent24c5021d55872347d7af8882235d2cb41423ba2b (diff)
Fix for end of handshake detection, HANDSHAKEN is a silly name for a const :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5904 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 6ad14561d..52a47b062 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -276,7 +276,7 @@ class ModuleSSLGnuTLS : public Module
else if (strcmp("IS_HSDONE", request->GetId()) == 0)
{
issl_session* session = &sessions[ISR->Sock->GetFd()];
- return (session->status == ISSL_HANDSHAKING_READ || session->status == ISSL_HANDSHAKING_WRITE || session->status == ISSL_HANDSHAKEN) ? NULL : (char*)"OK";
+ return (session->status == ISSL_HANDSHAKING_READ || session->status == ISSL_HANDSHAKING_WRITE) ? NULL : (char*)"OK";
}
else if (strcmp("IS_ATTACH", request->GetId()) == 0)
{