summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-13 21:43:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-13 21:43:16 +0000
commit287782d6efcf591837ba6b23deb44c8e873ec316 (patch)
treed6b8d1b2c5536bc207416aa6d5143b27d08e5f54 /src/modules
parent57f5ae52a248b744c8de62b6e99fba350a26d44b (diff)
Me so dummee.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7298 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
2 files changed, 2 insertions, 2 deletions
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 <bind> 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 <bind> 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);