diff --git a/Console/Server.cc b/Console/Server.cc index d990bb3e6cae071cdebd9482f3176a69bba79f96..dc169fa898a17cc57d3f8a57ce03bfd7327ca7d8 100644 --- a/Console/Server.cc +++ b/Console/Server.cc @@ -94,7 +94,7 @@ prefix_ senf::console::Server & senf::console::Server::start(ServerHandle handle } prefix_ senf::console::Server::Server(ServerHandle handle) - : handle_ (handle), root_ (root().thisptr()), mode_ (Automatic) + : handle_ (handle), root_ (senf::console::root().thisptr()), mode_ (Automatic) { Scheduler::instance().add( handle_, senf::membind(&Server::newClient, this) ); }