3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 12:12:35 +01:00

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];
this.instance.addConnection(name, server.server, server.port, this.admin, function(event) {
server.channels.each(function(channel) {
console.log('joining ' + channel + ' on ' + server.server);
this.instance.join(event, channel)
}.bind(this));
}.bind(this), server.nickserv, server.password);