0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-26 02:18:53 +02:00

ircd::net::hostport: Fix condition for service string in rfc3986::uri ctor.

This commit is contained in:
Jason Volk 2021-02-09 08:08:14 -08:00
parent 6bafde3f1c
commit 75445eb047

View file

@ -101,7 +101,9 @@ ircd::net::hostport::hostport(const rfc3986::uri &uri)
} }
,service ,service
{ {
uri.scheme !rfc3986::port(uri.remote)?
uri.scheme:
string_view{}
} }
,port ,port
{ {