diff options
| author | 2026-03-14 02:15:38 +0000 | |
|---|---|---|
| committer | 2026-03-14 03:09:11 +0000 | |
| commit | 76f3f24c03c22576324e5af199d3e61d02a79b0d (patch) | |
| tree | efa6b9a0295e7b99dc8c0c47c8dd6030238c8cac /src/socket.cpp | |
| parent | Convert some methods to use string_view. (diff) | |
Rewrite sepstream and move to stringutils.
Diffstat (limited to 'src/socket.cpp')
| -rw-r--r-- | src/socket.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<int> 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")) |
