From 50ace5ff56a19a7c54284b8a86a8185f1449da38 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Thu, 3 Apr 2008 10:49:42 +0000 Subject: [PATCH] Removing debug info from core, and don't remove trailing spaces in msgs anymore --- src/core/networkconnection.cpp | 7 +------ src/core/networkconnection.h | 4 +--- version.inc | 4 ++-- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/core/networkconnection.cpp b/src/core/networkconnection.cpp index a461d262..a6d4e307 100644 --- a/src/core/networkconnection.cpp +++ b/src/core/networkconnection.cpp @@ -279,12 +279,7 @@ void NetworkConnection::disconnectFromIrc(bool requested) { void NetworkConnection::socketHasData() { while(socket.canReadLine()) { - QByteArray s = socket.readLine().trimmed(); - // FIXME debug - if(Global::SPUTDEV && s == lastMsgReceived) { - qWarning() << "NetworkConnection::socketHasData(): Message repeated! -> loop?"; - } - lastMsgReceived = s; + QByteArray s = socket.readLine(); ircServerHandler()->handleServerMsg(s); } } diff --git a/src/core/networkconnection.h b/src/core/networkconnection.h index 83ea6f31..b09a2051 100644 --- a/src/core/networkconnection.h +++ b/src/core/networkconnection.h @@ -169,9 +169,7 @@ private: bool _previousConnectionAttemptFailed; int _lastUsedServerlistIndex; - - QByteArray lastMsgReceived; // FIXME debug - + class ParseError : public Exception { public: ParseError(QString cmd, QString prefix, QStringList params); diff --git a/version.inc b/version.inc index e97de3c6..3a87606d 100644 --- a/version.inc +++ b/version.inc @@ -4,8 +4,8 @@ { using namespace Global; quasselVersion = "0.2.0-alpha5-pre"; - quasselDate = "2008-04-02"; - quasselBuild = 690; + quasselDate = "2008-04-03"; + quasselBuild = 691; //! Minimum client build number the core needs clientBuildNeeded = 642; -- 2.20.1