X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=5159f93a449f3e3c52b0eec6f327844e8bc45198;hp=dc22a97305dfadf448799b8fe9484778f5743114;hb=c7ad7451b1e899ba0de2ded9ac08359dff5cca61;hpb=de9a7ec6b70c796182e0a7992aa380a58b954b94 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); }