mirror of
https://github.com/reality/dbot.git
synced 2024-12-26 04:32:37 +01:00
debugon server join
This commit is contained in:
parent
4a1d5aa083
commit
1e23e18807
1
run.js
1
run.js
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user