0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd:Ⓜ️:room::auth: Rename to M_AUTH_FAIL.

This commit is contained in:
Jason Volk 2019-08-22 03:15:59 -07:00
parent 118efe5cc7
commit 4dba866c64

View file

@ -22,7 +22,8 @@ struct ircd::m::room::auth
using events_view = vector_view<const event *>;
using passfail = std::tuple<bool, std::exception_ptr>;
IRCD_M_EXCEPTION(m::error, error, http::INTERNAL_SERVER_ERROR)
IRCD_M_EXCEPTION(error, FAIL, http::UNAUTHORIZED)
IRCD_M_EXCEPTION(error, AUTH_FAIL, http::UNAUTHORIZED)
using FAIL = AUTH_FAIL;
static bool is_power_event(const event &);