3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 19:52:36 +01:00

Now connects! Woo!

This commit is contained in:
Luke Slater 2012-05-19 17:47:35 +01:00
parent 43147af804
commit ec34a861f4

4
run.js
View File

@ -66,7 +66,7 @@ var DBot = function(timers) {
'password': 'lolturtles',
'channels': [
'#realitest'
];
]
}
};
@ -77,7 +77,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) {
instance.join(event, channel)
this.instance.join(event, channel)
}.bind(this));
}.bind(this), server.nickserv, server.password);
}