Comitting my own suggestion

This commit is contained in:
Salanto 2022-07-23 13:45:20 +02:00 committed by GitHub
parent 2459aa5401
commit 6063c9b443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,7 @@ AOPacket *PacketMS::validateIcPacket(AOClient &client) const
l_args.append(l_incoming_args[5].toString());
if (client.m_pos != l_incoming_args[5].toString()) {
client.m_pos = l_incoming_args[5].toString();
client.m_pos.replace("../", "");
client.m_pos.replace("../", "").replace("..\\","");
client.updateEvidenceList(client.getServer()->getAreaById(client.m_current_area));
}