0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd:Ⓜ️:fed: Return origin rather than empty result.

This commit is contained in:
Jason Volk 2020-04-25 00:51:38 -07:00
parent 2556a18cdf
commit ea97994fe3

View file

@ -1779,6 +1779,9 @@ try
response["m.server"] response["m.server"]
}; };
if(!m_server)
return origin;
// This construction validates we didn't get a junk string // This construction validates we didn't get a junk string
volatile const net::hostport ret volatile const net::hostport ret
{ {