Permalink
Browse files

corrected parameters in setUser

  • Loading branch information...
1 parent 7ba7c37 commit 2af4a6a35cee7a834a036f76891c91860b7790f7 Montana Rowe committed Feb 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 chat_app/server.js
View
@@ -81,7 +81,7 @@ function PrivateCell(val){
this.delKey = delKey;
}
var users = new PrivateCell({});
-var setUser = users.setKey;
+var setUser = function(name){return users.setKey(name, name)};
var getUser = users.getKey;
var delUser = users.delKey;
delete users.set;

0 comments on commit 2af4a6a

Please sign in to comment.