diff options
| author | 2020-11-03 18:43:19 +0000 | |
|---|---|---|
| committer | 2020-11-03 19:54:13 +0000 | |
| commit | be3b34fcea6512c8e5c4e170c50caaa7f14bb15a (patch) | |
| tree | bc6c6ea00ea80f271d4ed5b86d920758b767d367 /src/modules | |
| parent | Convert ConnectClass from reference<> to std::shared_ptr<>. (diff) | |
Rename ConfigItems to ConfigTag::Items.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_httpd_config.cpp | 6 | ||||
| -rw-r--r-- | src/modules/m_sqloper.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_httpd_config.cpp b/src/modules/m_httpd_config.cpp index b9cd256b8..826768d8a 100644 --- a/src/modules/m_httpd_config.cpp +++ b/src/modules/m_httpd_config.cpp @@ -55,10 +55,10 @@ class ModuleHttpConfig : public Module, public HTTPRequestEventListener // Print out the tag with all keys aligned vertically. const std::string indent(tag->tag.length() + 2, ' '); - const ConfigItems& items = tag->getItems(); - for (ConfigItems::const_iterator kiter = items.begin(); kiter != items.end(); ) + const ConfigTag::Items& items = tag->GetItems(); + for (ConfigTag::Items::const_iterator kiter = items.begin(); kiter != items.end(); ) { - ConfigItems::const_iterator curr = kiter++; + ConfigTag::Items::const_iterator curr = kiter++; buffer << curr->first << "=\"" << ServerConfig::Escape(curr->second) << '"'; if (kiter != items.end()) buffer << std::endl << indent; diff --git a/src/modules/m_sqloper.cpp b/src/modules/m_sqloper.cpp index 11c995dab..5d6d86aa9 100644 --- a/src/modules/m_sqloper.cpp +++ b/src/modules/m_sqloper.cpp @@ -70,7 +70,7 @@ class OperQuery : public SQL::Query res.GetCols(cols); // Create the oper tag as if we were the conf file. - ConfigItems* items; + ConfigTag::Items* items; auto tag = ConfigTag::create("oper", MODNAME, 0, items); /** Iterate through each column in the SQLOpers table. An infinite number of fields can be specified. |
