diff options
Diffstat (limited to 'src/libs/engine/events/RequestPluginsEvent.cpp')
-rw-r--r-- | src/libs/engine/events/RequestPluginsEvent.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/events/RequestPluginsEvent.cpp b/src/libs/engine/events/RequestPluginsEvent.cpp index da726e13..24fb055c 100644 --- a/src/libs/engine/events/RequestPluginsEvent.cpp +++ b/src/libs/engine/events/RequestPluginsEvent.cpp @@ -32,11 +32,11 @@ RequestPluginsEvent::RequestPluginsEvent(Engine& engine, SharedPtr<Responder> re void RequestPluginsEvent::pre_process() { - m_client = _engine.broadcaster()->client(_responder->client_key()); + _client = _engine.broadcaster()->client(_responder->client_key()); // Take a copy to send in the post processing thread (to avoid problems // because std::list isn't thread safe) - m_plugins = _engine.node_factory()->plugins(); + _plugins = _engine.node_factory()->plugins(); QueuedEvent::pre_process(); } @@ -45,8 +45,8 @@ RequestPluginsEvent::pre_process() void RequestPluginsEvent::post_process() { - if (m_client) { - _engine.broadcaster()->send_plugins_to(m_client, m_plugins); + if (_client) { + _engine.broadcaster()->send_plugins_to(_client, _plugins); _responder->respond_ok(); } else { _responder->respond_error("Unable to find client to send plugins"); |