mirror of
https://github.com/matrix-construct/construct
synced 2024-09-28 19:58:53 +02:00
ircd:Ⓜ️:homeserver: Relax check on options precluding port numbers.
This commit is contained in:
parent
6cb41fced9
commit
44bdc2f94b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue