From ef7c6fe9e2bfb22de66808e56a5f5bd602c3086f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 4 Apr 2026 12:10:50 +0100 Subject: Remove the remaining bits of stdalgo to utility/container. --- src/configparser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/configparser.cpp') diff --git a/src/configparser.cpp b/src/configparser.cpp index cd7a09145..c4038856e 100644 --- a/src/configparser.cpp +++ b/src/configparser.cpp @@ -28,6 +28,7 @@ #include "inspircd.h" #include "configparser.h" #include "timeutils.h" +#include "utility/container.h" #include "utility/string.h" #ifdef _WIN32 @@ -527,7 +528,7 @@ ParseStack::ParseStack(ServerConfig* conf) bool ParseStack::ParseFile(const std::string& path, int flags, const std::string& mandatory_tag, bool isexec) { - if (stdalgo::isin(reading, path)) + if (insp::contains(reading, path)) throw CoreException((isexec ? "Executable " : "File ") + path + " is included recursively (looped inclusion)"); /* It's not already included, add it to the list of files we've loaded */ -- cgit v1.3.1-10-gc9f91