0
0
Fork 0
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:
Jason Volk 2019-09-13 14:10:06 -07:00
parent c5d9181d23
commit 54c29274f2
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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
{