mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd:Ⓜ️:room::server_acl: Propagate exceptions through check().
This commit is contained in:
parent
c5d9181d23
commit
54c29274f2
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ struct ircd::m::room::server_acl
|
|||
server_acl(const m::room &);
|
||||
server_acl() = default;
|
||||
|
||||
static bool check(const m::id::room &, const net::hostport &server) noexcept;
|
||||
static bool check(const m::id::room &, const net::hostport &server);
|
||||
};
|
||||
|
||||
inline
|
||||
|
|
|
@ -163,7 +163,7 @@ bool
|
|||
IRCD_MODULE_EXPORT
|
||||
ircd::m::room::server_acl::check(const m::room::id &room_id,
|
||||
const net::hostport &server)
|
||||
noexcept try
|
||||
try
|
||||
{
|
||||
const server_acl server_acl
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue