enable minor version checks

This commit is contained in:
2024-05-01 20:33:46 -05:00
parent 4476c3863d
commit 40372e1b35
@@ -150,10 +150,10 @@ public class LoginServerMsgHandler implements NetMsgHandler {
return;
}
//if (cMinorVer.length() < 8 || cMinorVer.length() > 16) {
// this.KickToLogin(MBServerStatics.LOGINERROR_INCORRECT_CLIENT_VERSION, "Minor Version Failure: ", cc);
// return;
//}
if (cMinorVer.length() < 8 || cMinorVer.length() > 16) {
this.KickToLogin(MBServerStatics.LOGINERROR_INCORRECT_CLIENT_VERSION, "Minor Version Failure: ", cc);
return;
}
// set MachineID for this connection