diff --git a/modules/users/users.js b/modules/users/users.js index 87bfaf9..ef444fa 100644 --- a/modules/users/users.js +++ b/modules/users/users.js @@ -133,7 +133,7 @@ var users = function(dbot) { } else { done(user); } - }; + }.bind(this); if(_.has(this.userCache, event.server) && _.has(this.userCache[event.server], event.user)) { this.api.getUser(this.userCache[event.server][event.user], checkCurrentNick);