3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

remove process.nextTick

This commit is contained in:
reality 2013-08-05 17:41:20 +00:00
parent 30a371d4d5
commit bb3d846cad

View File

@ -196,7 +196,6 @@ var users = function(dbot) {
dbot.instance.addListener('366', 'users', function(event) {
var checkChannel = function(channel) {
async.eachSeries(_.keys(event.channel.nicks), function(nick, next) {
process.nextTick(function() {
var staff = event.channel.nicks[nick];
this.api.resolveUser(event.server, nick, function(user) {
@ -214,7 +213,6 @@ var users = function(dbot) {
this.internalAPI.createUser(event.server, nick, checkChannelUser);
}
}.bind(this));
}.bind(this));
}.bind(this), function(err) {
console.log('finished checking ' + channel);
});