diff options
| author | 2026-04-04 12:10:50 +0100 | |
|---|---|---|
| committer | 2026-04-04 12:32:00 +0100 | |
| commit | ef7c6fe9e2bfb22de66808e56a5f5bd602c3086f (patch) | |
| tree | 96f67982d63c354a33295997c828fb79462120e6 /src/configparser.cpp | |
| parent | Rename utility/map to container and prefix the difference method. (diff) | |
| download | inspircd++-ef7c6fe9e2bfb22de66808e56a5f5bd602c3086f.tar.gz inspircd++-ef7c6fe9e2bfb22de66808e56a5f5bd602c3086f.tar.bz2 inspircd++-ef7c6fe9e2bfb22de66808e56a5f5bd602c3086f.zip | |
Remove the remaining bits of stdalgo to utility/container.
Diffstat (limited to 'src/configparser.cpp')
| -rw-r--r-- | src/configparser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |
