X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=2b4b6a3edf5bfd94df516da8253e0a45bc46b22e;hb=11cecc112915cd9940e7612c05091f9b5bb18b00;hp=c894820c61d6bf525a4352aae8074fc70f179009;hpb=636812603e3308fece0ad677977c85b5cc9f18ee;p=quassel.git diff --git a/src/core/core.cpp b/src/core/core.cpp index c894820c..2b4b6a3e 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -201,6 +201,9 @@ void Core::init() { connect(&_server, SIGNAL(newConnection()), this, SLOT(incomingConnection())); connect(&_v6server, SIGNAL(newConnection()), this, SLOT(incomingConnection())); if(!startListening()) exit(1); // TODO make this less brutal + + if(Quassel::isOptionSet("oidentd")) + _oidentdConfigGenerator = new OidentdConfigGenerator(this); } Core::~Core() { @@ -240,6 +243,7 @@ void Core::restoreState() { return; } */ + QVariantList activeSessions = s.coreState().toMap()["ActiveSessions"].toList(); if(activeSessions.count() > 0) { quInfo() << "Restoring previous core state...";