0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-25 21:38:18 +02:00

ircd:Ⓜ️:homeserver: Relax check on options precluding port numbers.

This commit is contained in:
Jason Volk 2023-02-23 18:27:32 -08:00
parent 6cb41fced9
commit 44bdc2f94b

View file

@ -182,8 +182,8 @@ ircd::m::homeserver::init(const struct opts *const opts)
try
{
assert(opts);
rfc3986::valid_host(opts->origin);
rfc3986::valid_host(opts->server_name);
rfc3986::valid_remote(opts->origin);
rfc3986::valid_remote(opts->server_name);
return new homeserver
{