forked from GitHub/dbot
Now connects! Woo!
This commit is contained in:
parent
43147af804
commit
ec34a861f4
4
run.js
4
run.js
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user