Skip to content

Commit

Permalink
Fixed hasClient for exclusive groups.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveWang committed Jun 24, 2011
1 parent fa3db22 commit ecf8beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/group.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ exports.initialize = function (now) {

//returns boolean whether or not user is in a group
Group.prototype.hasClient = function (clientId) {
return nowUtil.hasProperty(this.users, clientId);
return this.users[clientId] !== undefined;
};

Group.prototype.get = function (fqn) {
Expand Down

0 comments on commit ecf8beb

Please sign in to comment.