aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/serverpackethandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp
index 38b8b3cff..1eb7064d6 100644
--- a/src/network/serverpackethandler.cpp
+++ b/src/network/serverpackethandler.cpp
@@ -281,7 +281,7 @@ void Server::handleCommand_Init(NetworkPacket* pkt)
Send(&resp_pkt);
client->allowed_auth_mechs = auth_mechs;
- client->setSupportedCompressionModes(compression_modes);
+ client->setDeployedCompressionMode(depl_compress_mode);
m_clients.event(pkt->getPeerId(), CSE_Hello);
}