Hook the Compressor into RemotePeer
[quassel.git] / src / common / protocols / legacy / legacypeer.cpp
index da6c3a7..49c77fd 100644 (file)
@@ -32,7 +32,7 @@ const uint clientNeedsProtocol = protocolVersion;
 using namespace Protocol;
 
 LegacyPeer::LegacyPeer(::AuthHandler *authHandler, QTcpSocket *socket, QObject *parent)
-    : RemotePeer(authHandler, socket, parent),
+    : RemotePeer(authHandler, socket, Compressor::NoCompression, parent),
     _useCompression(false)
 {