aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_httpd.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/modules/m_httpd.cpp
parentRename utility/string_view to utility/string. (diff)
downloadinspircd++-70131c8e78e3186d217a0c50abba64474506cd69.tar.gz
inspircd++-70131c8e78e3186d217a0c50abba64474506cd69.tar.bz2
inspircd++-70131c8e78e3186d217a0c50abba64474506cd69.zip
Move stdalgo::string::join to utility/string and templatise separator.
Diffstat (limited to 'src/modules/m_httpd.cpp')
-rw-r--r--src/modules/m_httpd.cpp3
1 files changed, 2 insertions, 1 deletions
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))