mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01: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
|
try
|
||||||
{
|
{
|
||||||
assert(opts);
|
assert(opts);
|
||||||
rfc3986::valid_host(opts->origin);
|
rfc3986::valid_remote(opts->origin);
|
||||||
rfc3986::valid_host(opts->server_name);
|
rfc3986::valid_remote(opts->server_name);
|
||||||
|
|
||||||
return new homeserver
|
return new homeserver
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue