We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90e7d42 commit 46f7fe9Copy full SHA for 46f7fe9
src/network/serverpackethandler.cpp
@@ -142,7 +142,8 @@ void Server::handleCommand_Init(NetworkPacket* pkt)
142
143
client->net_proto_version = net_proto_version;
144
145
- if (g_settings->getBool("strict_protocol_version_checking") ||
+ if ((g_settings->getBool("strict_protocol_version_checking") &&
146
+ net_proto_version != LATEST_PROTOCOL_VERSION) ||
147
net_proto_version < SERVER_PROTOCOL_VERSION_MIN ||
148
net_proto_version > SERVER_PROTOCOL_VERSION_MAX) {
149
actionstream << "Server: A mismatched client tried to connect from "
0 commit comments