diff --git a/run.js b/run.js index 58d372b..f6f9829 100644 --- a/run.js +++ b/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); }