0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd::server: Clear op_fini flag on err_clear().

This commit is contained in:
Jason Volk 2018-04-10 21:02:34 -07:00
parent c3062e80f1
commit 516d1797c9

View file

@ -392,6 +392,7 @@ ircd::server::peer::err_clear()
{
const auto ret{bool(e)};
e.reset(nullptr);
op_fini = false;
return ret;
}
@ -429,7 +430,7 @@ ircd::server::peer::err_check()
if(op_fini)
return false;
if(!e)
if(!err_has())
return true;
//TODO: The specific error type should be switched and finer