Hide user properties in the console too

This commit is contained in:
Sky 2014-01-10 12:40:20 +00:00
parent 86b6cdfcb3
commit 3c189a6553

View File

@ -90,6 +90,14 @@ QString MinecraftProcess::censorPrivateInfo(QString in)
in.replace(profileId, "<PROFILE ID>");
in.replace(profileName, "<PROFILE NAME>");
}
auto i = m_account->user().properties.begin();
while (i != m_account->user().properties.end())
{
in.replace(i.value(), "<" + i.key().toUpper() + ">");
++i;
}
return in;
}