From 6a64f0f3f07ebac876435b28bddf4b6b6c245ebf Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 24 Mar 2008 17:04:02 +0000 Subject: Allow activation of TLS via STARTTLS even if CAP REQ tls isnt given, so that CAP can be overridden if needed in testing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9193 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_gnutls.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index 51408067f..6ee124f22 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -77,9 +77,6 @@ class CommandStartTLS : public Command CmdResult Handle (const char* const* parameters, int pcnt, User *user) { - if (!user->GetExt("tls")) - return CMD_FAILURE; - user->io = Caller; Caller->OnRawSocketAccept(user->GetFd(), user->GetIPString(), user->GetPort()); -- cgit v1.2.3