From 287782d6efcf591837ba6b23deb44c8e873ec316 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 13 Jun 2007 21:43:16 +0000 Subject: Me so dummee. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7298 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_gnutls.cpp | 2 +- src/modules/extra/m_ssl_openssl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index ce2239a42..fec0b498d 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -129,7 +129,7 @@ class ModuleSSLGnuTLS : public Module { // For each tag std::string x = Conf->ReadValue("bind", "type", i); - if(((x.empty()) || (x == "clients")) && (x == "gnutls")) + if(((x.empty()) || (x == "clients")) && (Conf->ReadValue("bind", "ssl", i) == "gnutls")) { // Get the port we're meant to be listening on with SSL std::string port = Conf->ReadValue("bind", "port", i); diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 4ac684843..9012aaa37 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -173,7 +173,7 @@ class ModuleSSLOpenSSL : public Module { // For each tag std::string x = Conf->ReadValue("bind", "type", i); - if (((x.empty()) || (x == "clients")) && (x == "openssl")) + if (((x.empty()) || (x == "clients")) && (Conf->ReadValue("bind", "ssl", i) == "openssl")) { // Get the port we're meant to be listening on with SSL std::string port = Conf->ReadValue("bind", "port", i); -- cgit v1.2.3