Update index.js

Added missing hasOwnProperty checks to two for .. in loops.
Update index.js

Added missing hasOwnProperty check to for .. in loop.
Merge pull request #6 from poldridge/patch-1

Patch 1
Updated the debug dependency.

... to be compatible with express and connect.
Added the repository field.

...to fix the npm warnings like:
npm WARN package.json socket.io-adapter@0.3.0 No repository field.
A new room should be created as an object instead of an array since the id/true is set as a key value pair. Not an array element.
Merge pull request #8 from tencircles/master

Do not set key/value pairs on arrays
Add autoprunning of empty rooms
Style
Merge pull request #10 from rase-/patch-1

Add autoprunning of empty rooms - rebased
Fix room autopruning
Make the room exists when autopruning.
Merge pull request #12 from rase-/fix/room-autopruning

Fix room autopruning
Merged.
Merge pull request #7 from keskival/master

Updated the dependency version to be compatible with a current stack.
Merge branch 'master' of github.com:Automattic/socket.io-adapter into merger-branch