From d81590639331f9b233d3e16512aeb01f5c024a16 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 19 Apr 2025 12:47:52 +0100 Subject: Get rid of the internal block wrapper. This only existed for compatibility with old 2.0 modules and 2.1 has already broken compatibility with them. --- modules/hostserv/hs_group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/hostserv') diff --git a/modules/hostserv/hs_group.cpp b/modules/hostserv/hs_group.cpp index 183956b72..2aec7ee10 100644 --- a/modules/hostserv/hs_group.cpp +++ b/modules/hostserv/hs_group.cpp @@ -109,7 +109,7 @@ public: void OnReload(Configuration::Conf &conf) override { - Configuration::Block &block = conf.GetModule(this); + const auto &block = conf.GetModule(this); syncongroup = block.Get("syncongroup"); synconset = block.Get("synconset"); } -- cgit