0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-28 19:58:53 +02:00

ircd: Use strip(n=1) for unquote() tool.

This commit is contained in:
Jason Volk 2020-07-23 12:55:55 -07:00
parent 238a473b08
commit 582860f789

View file

@ -206,7 +206,7 @@ ircd::unquote(std::string &&str)
inline ircd::string_view inline ircd::string_view
ircd::unquote(const string_view &str) ircd::unquote(const string_view &str)
{ {
return strip(str, '"'); return strip(str, '"', 1);
} }
/// Chomps delim from all of the string views in the iterable (iterators<T> are /// Chomps delim from all of the string views in the iterable (iterators<T> are