Client: Encoding within the URL
[KiwiIRC.git] / server / irc / state.js
index 77ad4cb031ee7be5d946357cc8eabcd30da588d8..f8b7ca9bd70943f8eae1ecaa63af61c435a5ba93 100755 (executable)
@@ -32,7 +32,7 @@ util.inherits(State, events.EventEmitter);
 
 module.exports = State;
 
-State.prototype.connect = function (hostname, port, ssl, nick, user, pass, callback) {
+State.prototype.connect = function (hostname, port, ssl, nick, user, options, callback) {
     var that = this;
     var con, con_num;
 
@@ -53,7 +53,7 @@ State.prototype.connect = function (hostname, port, ssl, nick, user, pass, callb
         ssl,
         nick,
         user,
-        pass,
+        options,
         this,
         con_num);