aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-03 18:43:19 +0000
committerGravatar Sadie Powell2020-11-03 19:54:13 +0000
commitbe3b34fcea6512c8e5c4e170c50caaa7f14bb15a (patch)
treebc6c6ea00ea80f271d4ed5b86d920758b767d367 /src/configreader.cpp
parentConvert ConnectClass from reference<> to std::shared_ptr<>. (diff)
Rename ConfigItems to ConfigTag::Items.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 78a21eec7..dd0fe826a 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -62,7 +62,7 @@ ServerConfig::ServerPaths::ServerPaths(std::shared_ptr<ConfigTag> tag)
static std::shared_ptr<ConfigTag> CreateEmptyTag()
{
- ConfigItems* items;
+ ConfigTag::Items* items;
return ConfigTag::create("empty", "<auto>", 0, items);
}
@@ -181,7 +181,7 @@ void ServerConfig::CrossCheckConnectBlocks(ServerConfig* current)
if (blk_count == 0)
{
// No connect blocks found; make a trivial default block
- ConfigItems* items;
+ ConfigTag::Items* items;
auto tag = ConfigTag::create("connect", "<auto>", 0, items);
(*items)["allow"] = "*";
config_data.insert(std::make_pair("connect", tag));