From: Manuel Nickschas Date: Thu, 3 Apr 2008 10:49:42 +0000 (+0000) Subject: Removing debug info from core, and don't remove trailing spaces in msgs anymore X-Git-Tag: 0.2.0-alpha5~27 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=50ace5ff56a19a7c54284b8a86a8185f1449da38 Removing debug info from core, and don't remove trailing spaces in msgs anymore --- 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;