diff options
Diffstat (limited to 'src/server/events/DisconnectAll.cpp')
-rw-r--r-- | src/server/events/DisconnectAll.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/events/DisconnectAll.cpp b/src/server/events/DisconnectAll.cpp index 22560c7e..262bfea8 100644 --- a/src/server/events/DisconnectAll.cpp +++ b/src/server/events/DisconnectAll.cpp @@ -100,8 +100,7 @@ DisconnectAll::pre_process() if (object->parent_graph() != _parent && object->parent()->parent_graph() != _parent) { - return Event::pre_process_done(Status::INVALID_PARENT_PATH, - _parent_path); + return Event::pre_process_done(Status::INVALID_PARENT, _parent_path); } // Only one of these will succeed |