Removing debug info from core, and don't remove trailing spaces in msgs anymore
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 3 Apr 2008 10:49:42 +0000 (10:49 +0000)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 3 Apr 2008 10:49:42 +0000 (10:49 +0000)
src/core/networkconnection.cpp
src/core/networkconnection.h
version.inc

index a461d26..a6d4e30 100644 (file)
@@ -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);
   }
 }
index 83ea6f3..b09a205 100644 (file)
@@ -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);
index e97de3c..3a87606 100644 (file)
@@ -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;