Skip to content

Commit

Permalink
namespace: instrument add
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Dec 17, 2012
1 parent 4f0fce3 commit c67d2d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/namespace.js
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit c67d2d5

Please sign in to comment.