Skip to content
Snippets Groups Projects
Commit 3d43df99 authored by est31's avatar est31
Browse files

Return to ignore

parent b13809f0
No related branches found
No related tags found
No related merge requests found
......@@ -880,6 +880,7 @@ void Client::ProcessData(NetworkPacket *pkt)
if (command >= TOCLIENT_NUM_MSG_TYPES) {
infostream << "Client: Ignoring unknown command "
<< command << std::endl;
return;
}
/*
......
......@@ -1206,6 +1206,7 @@ void Server::ProcessData(NetworkPacket *pkt)
if (command >= TOSERVER_NUM_MSG_TYPES) {
infostream << "Server: Ignoring unknown command "
<< command << std::endl;
return;
}
if (toServerCommandTable[command].state == TOSERVER_STATE_NOT_CONNECTED) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment