pokoli/ButiJS — Issue #8: The create player function is not passing correctly the socket, so notify is not working
Author: pokoli
Created: 2012-01-20 16:29:46+00:00
State: open

In player.js the export create:

``` javascript
module.exports.create = function(name,email,socket) {
return new Player(name,email);
};
```
is missing the socket variable. Must be replaced with:

``` javascript
module.exports.create = function(name,email,socket) {
return new Player(name,email,socket);
};
```