diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-08-10 19:25:27 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-08-10 19:52:38 +0200 |
commit | 55544893a3c2a8f3d5cad13d11b3b2af6d69adcf (patch) | |
tree | 04806fbb213281289985c0308ce92158df47c5ee | |
parent | e2f3652a0f5fc51736cbda7ac4e337a597f3aed1 (diff) | |
download | MultiMC-55544893a3c2a8f3d5cad13d11b3b2af6d69adcf.tar MultiMC-55544893a3c2a8f3d5cad13d11b3b2af6d69adcf.tar.gz MultiMC-55544893a3c2a8f3d5cad13d11b3b2af6d69adcf.tar.lz MultiMC-55544893a3c2a8f3d5cad13d11b3b2af6d69adcf.tar.xz MultiMC-55544893a3c2a8f3d5cad13d11b3b2af6d69adcf.zip |
GH-1643 do not censor preferredLanguage in logs
-rw-r--r-- | api/logic/minecraft/MinecraftInstance.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/logic/minecraft/MinecraftInstance.cpp b/api/logic/minecraft/MinecraftInstance.cpp index b64d9bd2..174ec9be 100644 --- a/api/logic/minecraft/MinecraftInstance.cpp +++ b/api/logic/minecraft/MinecraftInstance.cpp @@ -272,6 +272,11 @@ QMap<QString, QString> MinecraftInstance::createCensorFilterFromSession(AuthSess auto i = sessionRef.u.properties.begin(); while (i != sessionRef.u.properties.end()) { + if(i.key() == "preferredLanguage") + { + ++i; + continue; + } addToFilter(i.value(), "<" + i.key().toUpper() + ">"); ++i; } |