GH-1643 do not censor preferredLanguage in logs

This commit is contained in:
Petr Mrázek 2016-08-10 19:25:27 +02:00
parent e2f3652a0f
commit 55544893a3

View File

@ -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;
}