diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-17 02:14:44 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-17 02:14:44 +0000 |
commit | bf6724c049ba0f156544c49aab2008d6280e5ffa (patch) | |
tree | 0c56caccf906b87575dfefe52acc526f38c1fc81 /src/modules/m_httpd_config.cpp | |
parent | 62a1eab66838294f2b88d5ea94c1678c167d6189 (diff) |
Rewrite ConfigReader again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11879 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_httpd_config.cpp')
-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>"; } |