summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-03-10 03:43:56 +0000
committerSadie Powell <sadie@witchery.services>2021-03-10 04:23:11 +0000
commite0dc7691c4cff3a38bc12adf10b3709d8c4901ba (patch)
treec3073104aa156f67c2571b6deb1dca24a103f60c /src/modules
parent085777cf272cd74e44abec70c0a87003429e2fd3 (diff)
Rename `<bind:ssl>` to `<bind:sslprofile>`.
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.