aboutsummaryrefslogtreecommitdiff
path: root/modules/sslmodes.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-19 15:39:35 +0000
committerGravatar Sadie Powell2026-03-19 15:39:35 +0000
commit5354311f2e6137468d9e5a9960106c9fd5c857b6 (patch)
treebcfb33d1fdb5bfcdc47a831d2fc4607529d70cbc /modules/sslmodes.cpp
parentReduce indentation in core_channel. (diff)
parentAllow overriding the oper restrictions on the fingerprint extban. (diff)
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/sslmodes.cpp')
-rw-r--r--modules/sslmodes.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/sslmodes.cpp b/modules/sslmodes.cpp
index 5f4061e29..179bfe461 100644
--- a/modules/sslmodes.cpp
+++ b/modules/sslmodes.cpp
@@ -193,8 +193,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, PrefixMode::Set& privs, const std::string& keygiven, bool override) override