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:
parent
0307fe629e
commit
fa8f70a38e
|
@ -2156,7 +2156,7 @@ catch(...)
|
|||
void
|
||||
ircd::server::link::handle_readable_success()
|
||||
{
|
||||
if(queue.empty())
|
||||
if(!tag_committed())
|
||||
{
|
||||
discard_read();
|
||||
wait_readable();
|
||||
|
|
Loading…
Reference in a new issue