Filter author attribs in client_vars.historicalAuthorData

This commit is contained in:
Marcel Klehr 2013-10-07 18:58:20 +02:00
parent 9fac515885
commit de73de38b1
1 changed files with 1 additions and 2 deletions

View File

@ -953,8 +953,7 @@ function handleClientReady(client, message)
authorManager.getAuthor(authorId, function(err, author)
{
if(ERR(err, callback)) return;
delete author.timestamp;
historicalAuthorData[authorId] = author;
historicalAuthorData[authorId] = {name: author.name, colorId: author.colorId}; // Filter author attribs (e.g. don't send author's pads to all clients)
callback();
});
}, callback);