3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

missing bind

This commit is contained in:
reality 2013-08-19 18:00:56 +00:00
parent 1d5f635f24
commit e1c8966d9f

View File

@ -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);