debugon server join

This commit is contained in:
Luke Slater 2012-05-25 21:15:06 +01:00
parent 4a1d5aa083
commit 1e23e18807

1
run.js
View File

@ -78,6 +78,7 @@ var DBot = function(timers) {
var server = this.servers[name]; var server = this.servers[name];
this.instance.addConnection(name, server.server, server.port, this.admin, function(event) { this.instance.addConnection(name, server.server, server.port, this.admin, function(event) {
server.channels.each(function(channel) { server.channels.each(function(channel) {
console.log('joining ' + channel + ' on ' + server.server);
this.instance.join(event, channel) this.instance.join(event, channel)
}.bind(this)); }.bind(this));
}.bind(this), server.nickserv, server.password); }.bind(this), server.nickserv, server.password);