summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r--src/PatchageEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp
index 353bb16..0896b49 100644
--- a/src/PatchageEvent.cpp
+++ b/src/PatchageEvent.cpp
@@ -57,7 +57,7 @@ public:
void operator()(const ClientDestructionEvent& event)
{
- _patchage.canvas()->remove_module(event.name);
+ _patchage.canvas()->remove_module(event.id);
}
void operator()(const PortCreationEvent& event)