Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Commit

Permalink
Fixed coding error
Browse files Browse the repository at this point in the history
  • Loading branch information
TATDK committed May 21, 2014
1 parent 4d14efb commit ba52159
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1235,10 +1235,10 @@ PlugAPI.prototype.setAvatar = function(avatar, callback) {
return true;
};

PlugAPI.prototype.havePermission(function(userid, permission) {
PlugAPI.prototype.havePermission = function(userid, permission) {
var user = this.getUser(userid);
return !(user == null || user.permission < permission);
});
};

PlugAPI.prototype.listen = function(port, address) {
var _this = this;
Expand Down

0 comments on commit ba52159

Please sign in to comment.