From be3b34fcea6512c8e5c4e170c50caaa7f14bb15a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 3 Nov 2020 18:43:19 +0000 Subject: Rename ConfigItems to ConfigTag::Items. --- src/modules/m_httpd_config.cpp | 6 +++--- src/modules/m_sqloper.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules') 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. -- cgit v1.3.1-10-gc9f91