X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=2b4b6a3edf5bfd94df516da8253e0a45bc46b22e;hb=da885f3c8e152e9bdf573290adcf53bed58d95d1;hp=2c7cc46bbc55287c33a922f7d2eae0c91b7adabe;hpb=e44d171b70bd7c4494fe8cc5d068b6cdd47a2c22;p=quassel.git diff --git a/src/core/core.cpp b/src/core/core.cpp index 2c7cc46b..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..."; @@ -912,7 +916,7 @@ void Core::changeUserPass(const QString &username) { } if(_configured && _storage->updateUser(userId, password)) { - out << "Password changed successfuly!" << endl; + out << "Password changed successfully!" << endl; } else { qWarning() << "Failed to change password!"; }