aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-08-05 11:35:56 +0100
committerGravatar Sadie Powell2023-08-11 12:03:09 +0100
commit70131c8e78e3186d217a0c50abba64474506cd69 (patch)
treee546ae74dca6a9aac941673b1e14f3e27597123b /src/configreader.cpp
parentRename utility/string_view to utility/string. (diff)
Move stdalgo::string::join to utility/string and templatise separator.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 47dd87fc6..041c573fd 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -37,6 +37,7 @@
#include "inspircd.h"
#include "configparser.h"
+#include "utility/string.h"
ServerConfig::ReadResult::ReadResult(const std::string& c, const std::string& e)
: contents(c)
@@ -205,7 +206,7 @@ void ServerConfig::CrossCheckConnectBlocks(ServerConfig* current)
{
case ConnectClass::ALLOW:
case ConnectClass::DENY:
- oldBlocksByMask[std::make_pair(stdalgo::string::join(c->GetHosts()), c->type)] = c;
+ oldBlocksByMask[std::make_pair(insp::join(c->GetHosts()), c->type)] = c;
break;
case ConnectClass::NAMED: