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:
parent
484d298afb
commit
7a055e22ef
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue