summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-24 17:04:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-24 17:04:02 +0000
commit6a64f0f3f07ebac876435b28bddf4b6b6c245ebf (patch)
treeb0f879db34695071aa3c51f044360317e3455cce /src
parente588fdca3b29dc3bab6051cf409637a5bace35d8 (diff)
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
Diffstat (limited to 'src')
-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 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());