diff options
Diffstat (limited to 'src/network.cpp')
-rw-r--r-- | src/network.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network.cpp b/src/network.cpp index 259ae5e..8ee61b3 100644 --- a/src/network.cpp +++ b/src/network.cpp @@ -24,6 +24,8 @@ using namespace erebos; Server::Server(const Head<LocalState> & head, vector<unique_ptr<Service>> && svcs): p(new Priv(head, *head->identity(), std::move(svcs))) { + for (const auto & s : p->services) + s->serverStarted(*this); } Server:: Server(const std::shared_ptr<Priv> & ptr): |