Change everything to the new Socket.IO API

This commit is contained in:
Peter 'Pita' Martischka 2011-06-23 14:08:18 +01:00
parent fd5aafe17a
commit 80a478fd55
3 changed files with 28 additions and 28 deletions

View file

@ -48,7 +48,7 @@ exports.setSocketIO = function(_socket)
//save this socket internaly
socket = _socket;
socket.on('connection', function(client)
socket.sockets.on('connection', function(client)
{
//tell all components about this connect
for(var i in components)