0
0
Fork 0
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:
Jason Volk 2018-03-13 17:45:02 -07:00
parent 23f294df86
commit 0ffa3b6257

View file

@ -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;
}