diff --git a/include/ircd/m/error.h b/include/ircd/m/error.h index e71ac5fee..07fbc3376 100644 --- a/include/ircd/m/error.h +++ b/include/ircd/m/error.h @@ -102,6 +102,7 @@ namespace ircd::m IRCD_M_EXCEPTION(error, BAD_REQUEST, http::BAD_REQUEST); IRCD_M_EXCEPTION(BAD_REQUEST, BAD_JSON, http::BAD_REQUEST); IRCD_M_EXCEPTION(error, BAD_SIGNATURE, http::UNAUTHORIZED); + IRCD_M_EXCEPTION(error, ACCESS_DENIED, http::UNAUTHORIZED); } template