aboutsummaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index de8131875..d2ec7017e 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -880,6 +880,7 @@ void Client::ProcessData(NetworkPacket *pkt)
if (command >= TOCLIENT_NUM_MSG_TYPES) {
infostream << "Client: Ignoring unknown command "
<< command << std::endl;
+ return;
}
/*