Browse Source

defend against bad client versions

Emagi 1 year ago
parent
commit
1918ad44ce
1 changed files with 1 additions and 0 deletions
  1. 1 0
      EQ2/source/WorldServer/client.cpp

+ 1 - 0
EQ2/source/WorldServer/client.cpp

@@ -10583,6 +10583,7 @@ bool Client::HandleNewLogin(int32 account_id, int32 access_code)
 			else {
 				LogWrite(WORLD__ERROR, 0, "World", "Incompatible version: %i", version);
 				ClientPacketFunctions::SendLoginDenied(this);
+				Disconnect();
 				return false;
 			}
 		}