diff --git a/include/ircd/m/room/server_acl.h b/include/ircd/m/room/server_acl.h index 71999f317..a7caea10b 100644 --- a/include/ircd/m/room/server_acl.h +++ b/include/ircd/m/room/server_acl.h @@ -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 diff --git a/modules/m_room_server_acl.cc b/modules/m_room_server_acl.cc index c9bce4645..487c271cc 100644 --- a/modules/m_room_server_acl.cc +++ b/modules/m_room_server_acl.cc @@ -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 {