X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=5159f93a449f3e3c52b0eec6f327844e8bc45198;hb=ec9528b2997470953e3c4e456271e696026e9717;hp=dc22a97305dfadf448799b8fe9484778f5743114;hpb=ac70c47569dc99592c5ec3fe92a5f087cd1f7bcb;p=quassel.git diff --git a/src/core/core.cpp b/src/core/core.cpp index dc22a973..5159f93a 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -112,7 +112,7 @@ void Core::clientHasData() { try { processClientInit(socket, item); } catch(Storage::AuthError) { - qWarning() << "Authentification error!"; // FIXME + qWarning() << "Authentification error!"; // FIXME: send auth error to client socket->close(); return; } catch(Exception e) { @@ -156,6 +156,7 @@ void Core::processClientInit(QTcpSocket *socket, const QVariant &v) { QVariant reply = initSession(uid); disconnect(socket, 0, this, 0); sessions[uid]->addClient(socket); + qDebug() << "Client initialized successfully."; writeDataToDevice(socket, reply); }