aboutsummaryrefslogtreecommitdiff
path: root/src/network/packethandlers
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/packethandlers')
-rw-r--r--src/network/packethandlers/client.cpp4
-rw-r--r--src/network/packethandlers/server.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/network/packethandlers/client.cpp b/src/network/packethandlers/client.cpp
index 69f39d1f3..7b3adeda4 100644
--- a/src/network/packethandlers/client.cpp
+++ b/src/network/packethandlers/client.cpp
@@ -89,7 +89,7 @@ void Client::handleCommand_Init(NetworkPacket* pkt)
m_state = LC_Init;
}
-void Client::handleCommand_AccessDenied(NetworkPacket* pkt)
+void Client::handleCommand_AccessDenied_Legacy(NetworkPacket* pkt)
{
// The server didn't like our password. Note, this needs
// to be processed even if the serialisation format has
@@ -822,7 +822,7 @@ void Client::handleCommand_AddParticleSpawner(NetworkPacket* pkt)
}
-void Client::handleCommand_DeleteParticleSpawner(NetworkPacket* pkt)
+void Client::handleCommand_DeleteParticleSpawner_Legacy(NetworkPacket* pkt)
{
u16 id;
diff --git a/src/network/packethandlers/server.cpp b/src/network/packethandlers/server.cpp
index 537858e52..113ca6c8f 100644
--- a/src/network/packethandlers/server.cpp
+++ b/src/network/packethandlers/server.cpp
@@ -43,7 +43,7 @@ void Server::handleCommand_Deprecated(NetworkPacket* pkt)
<< " not supported anymore" << std::endl;
}
-void Server::handleCommand_Init(NetworkPacket* pkt)
+void Server::handleCommand_Init_Legacy(NetworkPacket* pkt)
{
// [0] u8 SER_FMT_VER_HIGHEST_READ
// [1] u8[20] player_name
@@ -942,7 +942,7 @@ void Server::handleCommand_Breath(NetworkPacket* pkt)
SendPlayerBreath(pkt->getPeerId());
}
-void Server::handleCommand_Password(NetworkPacket* pkt)
+void Server::handleCommand_Password_Legacy(NetworkPacket* pkt)
{
/*
[0] u16 TOSERVER_PASSWORD