From ec34a861f48140477afc72ecb0be793dcb9800a1 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sat, 19 May 2012 17:47:35 +0100 Subject: [PATCH] Now connects! Woo! --- run.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }