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

different join

This commit is contained in:
Luke Slater 2011-11-09 22:06:22 +00:00
parent a057dbf85c
commit 5e039c814a

4
run.js
View File

@ -17,9 +17,9 @@ var DBot = function(dModules, timers) {
this.instance = jsbot.createJSBot(this.name, 'elara.ivixor.net', 6667, this, function() {
if(this.config.hasOwnProperty('channels')) {
for(channel in this.config.channels) {
this.config.channels.each(function(channel) {
this.instance.join(channel);
}
}.bind(this));
}
}.bind(this));