summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_flashpolicyd.cpp2
-rw-r--r--src/modules/m_ircv3_sts.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_flashpolicyd.cpp b/src/modules/m_flashpolicyd.cpp
index e65e6dace..c2a965687 100644
--- a/src/modules/m_flashpolicyd.cpp
+++ b/src/modules/m_flashpolicyd.cpp
@@ -127,7 +127,7 @@ class ModuleFlashPD : public Module
if (!stdalgo::string::equalsci(ls->bind_tag->getString("type", "clients", 1), "clients"))
continue;
- if (!ls->bind_tag->getString("ssl").empty())
+ if (!ls->bind_tag->getString("sslprofile", ls->bind_tag->getString("ssl")).empty())
continue;
to_ports.append(ConvToStr(ls->bind_sa.port())).push_back(',');
diff --git a/src/modules/m_ircv3_sts.cpp b/src/modules/m_ircv3_sts.cpp
index c75da3fc0..9b9d625f6 100644
--- a/src/modules/m_ircv3_sts.cpp
+++ b/src/modules/m_ircv3_sts.cpp
@@ -142,7 +142,7 @@ class ModuleIRCv3STS : public Module
continue;
// Is this listener using TLS (SSL)?
- if (ls->bind_tag->getString("ssl").empty())
+ if (ls->bind_tag->getString("sslprofile", ls->bind_tag->getString("ssl")).empty())
continue;
// TODO: Add a way to check if a listener's TLS cert is CA-verified.