0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 18:18:56 +02:00

ircd::server: Simplify discard condition when no tags committed to remote.

This commit is contained in:
Jason Volk 2019-09-09 17:09:07 -07:00
parent 0307fe629e
commit fa8f70a38e

View file

@ -2156,7 +2156,7 @@ catch(...)
void
ircd::server::link::handle_readable_success()
{
if(queue.empty())
if(!tag_committed())
{
discard_read();
wait_readable();