server: Omit needless escapeFormat().

This commit is contained in:
Thaddee Tyl 2014-01-22 08:52:37 +01:00
parent 2fc7a7c191
commit 500b930ae3

View File

@ -480,10 +480,7 @@ function escapeFormat(t) {
function sixHex(s) { return /^[0-9a-fA-F]{6}$/.test(s); }
function getLabel(label, data) {
if (data.label) {
return escapeFormat(data.label);
}
return label;
return data.label || label;
}
function makeSend(format, askres, end) {