summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ssl_gnutls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_ssl_gnutls.cpp')
-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());