index: fix typo [thanks @yanatan16]

This commit is contained in:
Guillermo Rauch
2014-06-11 10:42:48 -07:00
parent 0b5fdf995a
commit 7d2b44e176

View File

@@ -159,7 +159,7 @@ Server.prototype.adapter = function(v){
if (!arguments.length) return this._adapter;
this._adapter = v;
for (var i in this.nsps) {
if (this.nsps[i].hasOwnProperty(i)) {
if (this.nsps.hasOwnProperty(i)) {
this.nsps[i].initAdapter();
}
}