Ensure the browser doesn't send socket.io message with the browser version

pull/57/head
Peter 'Pita' Martischka 2011-07-31 16:13:56 +01:00
parent 783203b865
commit bcaadfa6eb
1 changed files with 2 additions and 2 deletions

View File

@ -126,8 +126,8 @@ function handshake()
receivedClientVars = true;
clientVars = obj;
clientVars.userAgent = navigator.userAgent;
clientVars.collab_client_vars.clientAgent = navigator.userAgent;
clientVars.userAgent = "Anonymous";
clientVars.collab_client_vars.clientAgent = "Anonymous";
pad.init();