Permalink
Browse files

room.add fix

  • Loading branch information...
1 parent 31e7b1d commit b02dd162c6c093bd0730c497d92ce933126eb68b @youurayy committed Feb 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/ws-rpc.js
  2. +1 −1 package.json
View
@@ -150,7 +150,7 @@ var Room = function(id) {
Room.prototype.add = function(client) {
this.clients.push(client);
- client.rooms[this.id, this];
+ client.rooms[this.id] = this;
};
View
@@ -3,7 +3,7 @@
"name": "ws-rpc",
"description": "lightweight RPC support for the ws WebSocket server",
"keywords": [ "websockets", "websocket", "connect", "middleware", "express", "rpc" ],
- "version": "0.0.2",
+ "version": "0.0.3",
"homepage": "http://github.com/ypocat/ws-rpc",
"repository": {
"type": "git",

0 comments on commit b02dd16

Please sign in to comment.