global.config.restrict_server_ssl,
command.nick,
{hostname: this.websocket.handshake.revdns, address: this.websocket.handshake.real_address},
- global.config.restrict_server_password);
+ global.config.restrict_server_password,
+ callback);
} else {
this.state.connect(
command.ssl,
command.nick,
{hostname: this.websocket.handshake.revdns, address: this.websocket.handshake.real_address},
- command.password);
+ command.password,
+ callback);
}
} else {
return callback('Hostname, port and nickname must be specified');