From 70131c8e78e3186d217a0c50abba64474506cd69 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 5 Aug 2023 11:35:56 +0100 Subject: Move stdalgo::string::join to utility/string and templatise separator. --- src/modules/m_httpd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_httpd.cpp') diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index a220d8296..649dc83b2 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -29,6 +29,7 @@ #include "inspircd.h" #include "iohook.h" #include "modules/httpd.h" +#include "utility/string.h" #ifdef __GNUC__ # pragma GCC diagnostic push @@ -359,7 +360,7 @@ public: } out.path.reserve(url.field_data[UF_PATH].len); - out.path.append("/").append(stdalgo::string::join(pathsegments, '/')); + out.path.append("/").append(insp::join(pathsegments, '/')); } if (url.field_set & (1 << UF_FRAGMENT)) -- cgit v1.3.1-10-gc9f91