aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_httpd_config.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-07-03 15:22:55 +0100
committerGravatar Sadie Powell2023-07-03 18:43:24 +0100
commit130966707f0c59ef8948b31ee6633025ae8fb647 (patch)
tree85c47eb277c60edc8bfddc5fee60f83022e0dbef /src/modules/m_httpd_config.cpp
parentMove ServerLimits inside ServerConfig. (diff)
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.
Diffstat (limited to 'src/modules/m_httpd_config.cpp')
-rw-r--r--src/modules/m_httpd_config.cpp2
1 files changed, 1 insertions, 1 deletions
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