namespace: instrument add

This commit is contained in:
Guillermo Rauch
2012-12-17 08:29:43 -03:00
parent 4f0fce34f5
commit c67d2d5494

View File

@@ -130,6 +130,7 @@ Namespace.prototype.in = function(fn){
*/
Namespace.prototype.add = function(client, fn){
debug('adding socket to nsp %s', this.name);
var socket = new Socket(this, client);
var self = this;
this.run(socket, function(err){