summaryrefslogtreecommitdiffstats
path: root/src/engine/events/Disconnect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/events/Disconnect.cpp')
-rw-r--r--src/engine/events/Disconnect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/events/Disconnect.cpp b/src/engine/events/Disconnect.cpp
index c0fc9656..007886f1 100644
--- a/src/engine/events/Disconnect.cpp
+++ b/src/engine/events/Disconnect.cpp
@@ -207,7 +207,7 @@ Disconnect::post_process()
{
if (_error == NO_ERROR) {
_responder->respond_ok();
- _engine.broadcaster()->send_disconnection(_src_port->path(), _dst_port->path());
+ _engine.broadcaster()->disconnect(_src_port->path(), _dst_port->path());
} else {
string msg = "Unable to disconnect ";
msg.append(_src_port_path.str() + " -> " + _dst_port_path.str());