aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-05-16 22:14:15 +0200
committerest31 <MTest31@outlook.com>2015-05-16 22:14:15 +0200
commitc297a75a7d4c8f05c5f0d4657a947648335ff85f (patch)
tree166e0056b7f9d43fcaf1767d1804d571a04653cc /src/network
parent8dbf68331386f5f6a40ff0f0a77f5390bdca60b9 (diff)
downloadminetest-c297a75a7d4c8f05c5f0d4657a947648335ff85f.tar.gz
minetest-c297a75a7d4c8f05c5f0d4657a947648335ff85f.tar.bz2
minetest-c297a75a7d4c8f05c5f0d4657a947648335ff85f.zip
Fix build since last commit
Also rename method to better match what it does.
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);
}