summaryrefslogtreecommitdiffstats
path: root/src/server/events/Connect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events/Connect.cpp')
-rw-r--r--src/server/events/Connect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Connect.cpp b/src/server/events/Connect.cpp
index 16792a11..cbdb67c5 100644
--- a/src/server/events/Connect.cpp
+++ b/src/server/events/Connect.cpp
@@ -142,7 +142,7 @@ Connect::pre_process()
void
Connect::execute(ProcessContext& context)
{
- if (_status != Status::SUCCESS) {
+ if (_status == Status::SUCCESS) {
_head->add_arc(context, _arc.get());
_engine.maid()->dispose(_head->set_buffers(context, _buffers));
_head->connect_buffers();