0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00

ircd::server: Disassociate tag from request on cancel.

This commit is contained in:
Jason Volk 2019-04-15 11:43:53 -07:00
parent 484d298afb
commit 7a055e22ef

View file

@ -349,7 +349,10 @@ ircd::server::cancel(request &request)
// request. All that has to be done is indicate a full cancellation
// immediately and the user will know nothing was revealed to the remote.
if(!tag.committed())
{
disassociate(request, tag);
return true;
}
// Now things aren't so easy. More complicated logic happens inside...
cancel(request, tag);