diff options
| author | 2026-03-19 15:03:30 +0000 | |
|---|---|---|
| committer | 2026-03-19 15:03:30 +0000 | |
| commit | 7a5ab67f26424c445f9bdb2bffc105cdec9f190c (patch) | |
| tree | 515fed804ac1217f1af91c5b1e2bff02b680306c /src/modules/m_sslmodes.cpp | |
| parent | Expose the maximum channel key length to services. (diff) | |
Allow overriding the oper restrictions on the fingerprint extban.
Diffstat (limited to 'src/modules/m_sslmodes.cpp')
| -rw-r--r-- | src/modules/m_sslmodes.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_sslmodes.cpp b/src/modules/m_sslmodes.cpp index 8cc259cc4..72d34be39 100644 --- a/src/modules/m_sslmodes.cpp +++ b/src/modules/m_sslmodes.cpp @@ -192,8 +192,9 @@ public: void ReadConfig(ConfigStatus& status) override { - const auto& tag = ServerInstance->Config->ConfValue("sslinfo"); - extban.operonly = tag->getBool("operonly"); + const auto fpvisible = ServerInstance->Config->ConfValue("sslmodes")->getBool("operonly"); + const auto& tag = ServerInstance->Config->ConfValue("sslmodes"); + extban.operonly = tag->getBool("extbanoperonly", fpvisible); } ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven, bool override) override |
