Additional precautions against #353

This commit is contained in:
Rsl1122 2017-10-24 11:49:51 +03:00
parent 7790058bbe
commit 566fbc9cde

View File

@ -34,9 +34,7 @@ public class NewNickActionProcessor extends PlayerProcessor {
public void process() {
UUID uuid = getUUID();
String n = HtmlUtils.swapColorsToSpan(displayName);
String info = HtmlUtils.removeXSS(n);
String info = HtmlUtils.removeXSS(displayName);
Action action = new Action(MiscUtils.getTime(), Actions.NEW_NICKNAME, info);