diff -rup secondlife/secondlife.module temp/secondlife/secondlife.module
--- secondlife/secondlife.module	2008-12-16 04:37:52.000000000 +0100
+++ temp/secondlife/secondlife.module	2008-12-16 08:25:09.000000000 +0100
@@ -312,8 +312,8 @@ function secondlife_rpc ($channel, $intV
   fclose($socket);
 
   // parse out the returned data
-  $sVal = get_data_between($response, 'StringValue</name><value><string>','</string>');
-  $iVal = get_data_between($response, '<value><int>','</int></value>');
+  $sVal = secondlife_get_data_between($response, 'StringValue</name><value><string>','</string>');
+  $iVal = secondlife_get_data_between($response, '<value><int>','</int></value>');
 
   // return the response data in an array
   return array('channel' => $channel, 'string' => $sVal, 'integer' => $iVal);
