SOCKS server fix
authorDarren <darren@darrenwhitlen.com>
Sat, 2 Nov 2013 13:00:45 +0000 (13:00 +0000)
committerDarren <darren@darrenwhitlen.com>
Sat, 2 Nov 2013 13:00:45 +0000 (13:00 +0000)
server/irc/connection.js

index a4084cda637bc67bae89023295fed75948921788..a2d1c131d9160c9fc51bd6f06c8a58061de7da3a 100644 (file)
@@ -187,7 +187,7 @@ IrcConnection.prototype.connect = function () {
         }
 
         // Are we connecting through a SOCKS proxy?
-        if (this.socks) {
+        if (that.socks) {
             that.socket = Socks.connect({
                 host: host,
                 port: that.irc_host.port,