From 7a5ab67f26424c445f9bdb2bffc105cdec9f190c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 19 Mar 2026 15:03:30 +0000 Subject: Allow overriding the oper restrictions on the fingerprint extban. --- src/modules/m_sslmodes.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modules/m_sslmodes.cpp') 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 -- cgit v1.3.1-10-gc9f91