diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_httpd_config.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_httpd_config.cpp b/src/modules/m_httpd_config.cpp index 988ba3977..fa8f5f95f 100644 --- a/src/modules/m_httpd_config.cpp +++ b/src/modules/m_httpd_config.cpp @@ -90,9 +90,10 @@ class ModuleHttpStats : public Module for (ConfigDataHash::iterator x = ServerInstance->Config->config_data.begin(); x != ServerInstance->Config->config_data.end(); ++x) { data << "<" << x->first << " "; - for (KeyValList::iterator j = x->second.begin(); j != x->second.end(); j++) + ConfigTag* tag = x->second; + for (std::vector<KeyVal>::iterator j = tag->items.begin(); j != tag->items.end(); j++) { - data << j->first << "="" << j->second << "" "; + data << Sanitize(j->first) << "="" << Sanitize(j->second) << "" "; } data << "><br>"; } |