Finaly got rid of the synchronizers, making Quassel quite a bit more lightweight...
[quassel.git] / src / core / server.cpp
index 67cc632..8e096f8 100644 (file)
@@ -28,7 +28,6 @@
 #include "coresession.h"
 
 #include "networkinfo.h"
-#include "synchronizer.h"
 
 #include "ircserverhandler.h"
 #include "userinputhandler.h"
@@ -40,9 +39,10 @@ Server::Server(UserId uid, uint networkId, QString net)
     _ircServerHandler(new IrcServerHandler(this)),
     _userInputHandler(new UserInputHandler(this)),
     _ctcpHandler(new CtcpHandler(this)),
-    _networkInfo(new NetworkInfo(networkId, coreSession()->signalProxy(), this))
+    _networkInfo(new NetworkInfo(networkId, this))
 {
   networkInfo()->setNetworkName(net);
+  networkInfo()->setProxy(coreSession()->signalProxy());
 }
 
 Server::~Server() {