mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd:Ⓜ️:room::auth: Rename to M_AUTH_FAIL.
This commit is contained in:
parent
118efe5cc7
commit
4dba866c64
1 changed files with 2 additions and 1 deletions
|
@ -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 &);
|
||||
|
||||
|
|
Loading…
Reference in a new issue