address -> user
authorJack Allnutt <m2ys4u@gmail.com>
Wed, 23 Jan 2013 20:55:22 +0000 (20:55 +0000)
committerDarren <darren@darrenwhitlen.com>
Thu, 31 Jan 2013 14:58:42 +0000 (14:58 +0000)
server/irc/state.js

index 97ced7f137eeefa4635d4f0486a48c372dfaaa20..e18de3a9f68f5370a7012b2681b58a0c9760375f 100755 (executable)
@@ -36,7 +36,7 @@ State.prototype.connect = function (hostname, port, ssl, nick, user, pass, callb
             global.config.restrict_server_port,
             global.config.restrict_server_ssl,
             command.nick,
-            address,
+            user,
             global.config.restrict_server_password);
 
     } else {
@@ -45,7 +45,7 @@ State.prototype.connect = function (hostname, port, ssl, nick, user, pass, callb
             command.port,
             command.ssl,
             command.nick,
-            address,
+            user,
             command.password);
     }