aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-11-19 10:32:10 -0500
committerDeterminant <[email protected]>2018-11-19 10:32:10 -0500
commitd088f1826ab704c9b932765458591c052e939bbc (patch)
tree94a1528b93e535478212192eabd393c70ceed960 /include
parentc4071ef01a1869daa09e3bf3ac982fe8103492ac (diff)
remove redundant check
Diffstat (limited to 'include')
-rw-r--r--include/salticidae/conn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salticidae/conn.h b/include/salticidae/conn.h
index ea5ccf2..a60cd8f 100644
--- a/include/salticidae/conn.h
+++ b/include/salticidae/conn.h
@@ -204,7 +204,7 @@ class ConnPool {
.get_queue()
.reg_handler(this->ec, [conn, client_fd]
(MPSCWriteBuffer::queue_t &) {
- if (conn->ready_send && conn->self_ref)
+ if (conn->ready_send)
{
conn->ev_socket.del();
conn->ev_socket.add(Event::READ | Event::WRITE);