From 130966707f0c59ef8948b31ee6633025ae8fb647 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 3 Jul 2023 15:22:55 +0100 Subject: Refactor the ServerConfig class. All fields are now ordered in the most memory efficient way and all public fields use the correct case. Every member has been redocumented to match the current documentation style. --- src/modules/m_httpd_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_httpd_config.cpp') diff --git a/src/modules/m_httpd_config.cpp b/src/modules/m_httpd_config.cpp index 73e40abba..df82e6d91 100644 --- a/src/modules/m_httpd_config.cpp +++ b/src/modules/m_httpd_config.cpp @@ -48,7 +48,7 @@ public: ServerInstance->Logs.Debug(MODNAME, "Handling HTTP request for {}", request.GetPath()); std::stringstream buffer; - for (const auto& [_, tag] : ServerInstance->Config->config_data) + for (const auto& [_, tag] : ServerInstance->Config->GetConfig()) { // Show the location of the tag in a comment. buffer << "# " << tag->source.str() << std::endl -- cgit v1.3.1-10-gc9f91