From 582860f78922d52e9dc64310900ad0a74f96d896 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 23 Jul 2020 12:55:55 -0700 Subject: [PATCH] ircd: Use strip(n=1) for unquote() tool. --- include/ircd/stringops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ircd/stringops.h b/include/ircd/stringops.h index d24e38ea4..b50f43821 100644 --- a/include/ircd/stringops.h +++ b/include/ircd/stringops.h @@ -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 are