summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:47:05 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:47:05 +0000
commit54ebc7b84d9018da7f5725e376d9f4bf60afbf74 (patch)
treeae5f15b22b782a502b3eeba14fd1523256b8ab07 /src/modules
parent09b802d5e94b71318e3b49f2d35554438efc5331 (diff)
Misc removal of pointless Extend strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11618 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp3
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index a769bd12b..1c90428b2 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -668,8 +668,7 @@ class ModuleSSLGnuTLS : public Module
EventHandler *extendme = ServerInstance->SE->GetRef(fd);
if (extendme)
{
- if (!extendme->GetExt("ssl"))
- extendme->Extend("ssl", "ON");
+ extendme->Extend("ssl");
}
// Change the seesion state
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index 9bce0d05e..55b7d8416 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -748,8 +748,7 @@ class ModuleSSLOpenSSL : public Module
EventHandler *u = ServerInstance->SE->GetRef(session->fd);
if (u)
{
- if (!u->GetExt("ssl", dummy))
- u->Extend("ssl", "ON");
+ u->Extend("ssl");
}
session->status = ISSL_OPEN;