From: g0dil Date: Tue, 3 Jun 2008 15:22:56 +0000 (+0000) Subject: Console: Fix stupid scoping bug X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=b51cf3cfd3349c5043f7c9c028076f7e0aff2181;p=senf.git Console: Fix stupid scoping bug git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@866 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Console/Server.cc b/Console/Server.cc index d990bb3..dc169fa 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) ); }