0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

ircd:Ⓜ️:fetch: Fix erroneous direct assignment to request.origin.

This commit is contained in:
Jason Volk 2020-11-06 21:59:52 -08:00
parent ef6f98eeec
commit 0f84f959a7

View file

@ -387,8 +387,9 @@ try
assert(!request.finished);
// Attempt the user's hint first
if(!request.started && !request.origin)
request.origin = request.opts.hint;
if(!request.started && !request.origin && request.opts.hint)
if(proffer_remote(request, request.opts.hint))
select_remote(request, request.opts.hint);
// When no user hint, use legacy event_id hostpart as hint.
if(!request.started && !request.origin)