? proxy.patch
? user_profile.patch
Index: secondlife.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/secondlife/secondlife.module,v
retrieving revision 1.4.2.3
diff -r1.4.2.3 secondlife.module
52a53,60
>   $form['secondlife_use_proxy'] = array(
>     '#type'          => 'radios',
>     '#title'         => t('Use proxy'),
>     '#default_value' => variable_get('secondlife_use_proxy', 0),
>     '#options'       => array( 0 => t('No'), 1 => t('Yes') ),
>     '#description'   => t('Select "yes" if your website is behind a proxy.'),
>   );
> 
111a120,124
>   $remote_addr = $_SERVER['REMOTE_ADDR'];
>   if (variable_get('secondlife_use_proxy', 0)) {
>     $tempa = split(", ", $_SERVER['HTTP_X_FORWARDED_FOR']);
>     $remote_addr = trim($tempa[1]);
>   }
113c126
<     if(secondlife_netmatch($network,$_SERVER['REMOTE_ADDR'] )) {
---
>     if(secondlife_netmatch($network, $remote_addr)) {
