From 76f3f24c03c22576324e5af199d3e61d02a79b0d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 14 Mar 2026 02:15:38 +0000 Subject: Rewrite sepstream and move to stringutils. --- src/socket.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/socket.cpp') diff --git a/src/socket.cpp b/src/socket.cpp index a6b36d166..c88823c1b 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -29,6 +29,7 @@ #endif #include "inspircd.h" +#include "stringutils.h" #include "utility/string.h" namespace @@ -136,7 +137,7 @@ size_t InspIRCd::BindPorts(FailedPortList& failed_ports) } std::vector protocols; - irc::spacesepstream protostream(tag->getString("protocols", "all", 1)); + StringSplitter protostream(tag->getString("protocols", "all", 1)); for (std::string protocol; protostream.GetToken(protocol); ) { if (insp::equalsci(protocol, "all")) -- cgit v1.3.1-10-gc9f91