0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 15:00:51 +01: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
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