From cf0196d3741b586dacb287dc05ec5b4b37a569ae Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 27 Apr 2019 18:26:14 -0700 Subject: [PATCH] ircd::m::error: Unquote the returned strings. --- ircd/m.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ircd/m.cc b/ircd/m.cc index 21111fee4..7023e7247 100644 --- a/ircd/m.cc +++ b/ircd/m.cc @@ -6063,7 +6063,7 @@ const noexcept this->http::error::content }; - return content.get("error"); + return unquote(content.get("error")); } ircd::string_view @@ -6075,5 +6075,5 @@ const noexcept this->http::error::content }; - return content.get("errcode", "M_UNKNOWN"_sv); + return unquote(content.get("errcode", "M_UNKNOWN"_sv)); }