Skip to content

Commit

Permalink
Return to ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Jun 24, 2015
1 parent b13809f commit 3d43df9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/client.cpp
Expand Up @@ -880,6 +880,7 @@ void Client::ProcessData(NetworkPacket *pkt)
if (command >= TOCLIENT_NUM_MSG_TYPES) {
infostream << "Client: Ignoring unknown command "
<< command << std::endl;
return;
}

/*
Expand Down
1 change: 1 addition & 0 deletions src/server.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 3d43df9

Please sign in to comment.