socket.io-adapter
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -77,4 +77,4 @@ | ||
Adapter.prototype.del = function(id, room, fn){ | ||
this.sids[id] = this.sids[id] || {}; | ||
delete this.sids[id][room]; | ||
if (this.sids[id]) delete this.sids[id][room]; | ||
if (this.rooms.hasOwnProperty(room)) { | ||
@@ -81,0 +81,0 @@ this.rooms[room].del(id); |
{ | ||
"name": "socket.io-adapter", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -9,3 +9,3 @@ | ||
This module is not intended for end-user usage, but can be used as an | ||
interface to inherit from from other adapters you might want to build. | ||
interface to inherit from other adapters you might want to build. | ||
@@ -12,0 +12,0 @@ As an example of an adapter that builds on top of this, please take a look |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11778
11
228