Browse Source

enable minor version checks

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
40372e1b35
  1. 8
      src/engine/server/login/LoginServerMsgHandler.java

8
src/engine/server/login/LoginServerMsgHandler.java

@ -150,10 +150,10 @@ public class LoginServerMsgHandler implements NetMsgHandler { @@ -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

Loading…
Cancel
Save