From 9cf448a332799a138dad0acb5b2878535770571d Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 26 Jul 2018 21:23:45 +0100 Subject: Replace irc::stringjoiner with a generic stdalgo::string::join. This can also be used with different types of collection containing values which are not a string. --- src/modules/m_spanningtree/capab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree') diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp index 79019b668..97b4a90af 100644 --- a/src/modules/m_spanningtree/capab.cpp +++ b/src/modules/m_spanningtree/capab.cpp @@ -98,7 +98,7 @@ static std::string BuildModeList(ModeType type) modes.push_back(mdesc); } std::sort(modes.begin(), modes.end()); - return irc::stringjoiner(modes); + return stdalgo::string::join(modes); } void TreeSocket::SendCapabilities(int phase) -- cgit v1.2.3