forked from GitHub/dbot
Update run.js
This commit is contained in:
parent
977de65914
commit
f309348e25
7
run.js
7
run.js
@ -45,12 +45,9 @@ var DBot = function() {
|
||||
this.config.admin, function(event) {
|
||||
var server = this.config.servers[event.server];
|
||||
|
||||
async.eachSeries(server.channels, function(channel, next) {
|
||||
setTimeout(function() {
|
||||
_.each(server.channels, function(channel) {
|
||||
this.instance.join(event, channel);
|
||||
next();
|
||||
}.bind(this), 5000);
|
||||
}.bind(this));
|
||||
}, this);
|
||||
}.bind(this), server.nickserv, server.password);
|
||||
}, this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user