Skip to content
Permalink
Browse files

GH-2716 do not censor values shorter than 4 in logs

  • Loading branch information...
peterix committed Jun 30, 2019
1 parent 0b86a7e commit 8ee11b1a8e23d20accb3e34f8f36a2a5669f772f
Showing with 1 addition and 2 deletions.
  1. +1 −2 api/logic/minecraft/MinecraftInstance.cpp
@@ -648,8 +648,7 @@ QMap<QString, QString> MinecraftInstance::createCensorFilterFromSession(AuthSess
auto i = sessionRef.u.properties.begin();
while (i != sessionRef.u.properties.end())
{
if(i.key() == "preferredLanguage")
{
if(i.value().length() <= 3) {
++i;
continue;
}

0 comments on commit 8ee11b1

Please sign in to comment.
You can’t perform that action at this time.