mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::server: Condition before killing link on open error.
This commit is contained in:
parent
23f294df86
commit
0ffa3b6257
1 changed files with 3 additions and 2 deletions
|
@ -608,8 +608,9 @@ ircd::server::peer::handle_open(link &link,
|
|||
|
||||
if(op_fini)
|
||||
{
|
||||
assert(link.finished());
|
||||
handle_finished(link);
|
||||
if(link.finished())
|
||||
handle_finished(link);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue