From 40372e1b358dcd8e0a0b2a31d0694488de14703d Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 1 May 2024 20:33:46 -0500 Subject: [PATCH] enable minor version checks --- src/engine/server/login/LoginServerMsgHandler.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engine/server/login/LoginServerMsgHandler.java b/src/engine/server/login/LoginServerMsgHandler.java index c298fd7e..2c3c4457 100644 --- a/src/engine/server/login/LoginServerMsgHandler.java +++ b/src/engine/server/login/LoginServerMsgHandler.java @@ -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