aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Framework
diff options
context:
space:
mode:
authorMW2007-03-28 20:25:31 +0000
committerMW2007-03-28 20:25:31 +0000
commit9653210db7bf0af281d9b755d48d8df207adaf1b (patch)
tree611a3f7bfc2044bf138d43e1e5c1702ecefb4c0f /OpenSim.Framework
parentAfter hours of searching for a bug, it works - User accounts in sandbox mode,... (diff)
downloadopensim-SC-9653210db7bf0af281d9b755d48d8df207adaf1b.zip
opensim-SC-9653210db7bf0af281d9b755d48d8df207adaf1b.tar.gz
opensim-SC-9653210db7bf0af281d9b755d48d8df207adaf1b.tar.bz2
opensim-SC-9653210db7bf0af281d9b755d48d8df207adaf1b.tar.xz
Fixed name quotes bug
Diffstat (limited to 'OpenSim.Framework')
-rw-r--r--OpenSim.Framework/UserProfileManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim.Framework/UserProfileManager.cs b/OpenSim.Framework/UserProfileManager.cs
index d6304d0..22375bc 100644
--- a/OpenSim.Framework/UserProfileManager.cs
+++ b/OpenSim.Framework/UserProfileManager.cs
@@ -144,7 +144,7 @@ namespace OpenSim.Framework.User
144 uint circode = (uint)(Util.RandomClass.Next()); 144 uint circode = (uint)(Util.RandomClass.Next());
145 //TheUser.AddSimCircuit(circode, SimInfo.UUID); 145 //TheUser.AddSimCircuit(circode, SimInfo.UUID);
146 146
147 LoginGoodData["last_name"] = "\"" + TheUser.lastname + "\""; 147 LoginGoodData["last_name"] = TheUser.lastname ;
148 LoginGoodData["ui-config"] = ui_config; 148 LoginGoodData["ui-config"] = ui_config;
149 LoginGoodData["sim_ip"] = "127.0.0.1"; //SimInfo.sim_ip.ToString(); 149 LoginGoodData["sim_ip"] = "127.0.0.1"; //SimInfo.sim_ip.ToString();
150 LoginGoodData["login-flags"] = LoginFlags; 150 LoginGoodData["login-flags"] = LoginFlags;
@@ -162,7 +162,7 @@ namespace OpenSim.Framework.User
162 LoginGoodData["start_location"] = "last"; 162 LoginGoodData["start_location"] = "last";
163 LoginGoodData["home"] = "{'region_handle':[r" + (997 * 256).ToString() + ",r" + (996 * 256).ToString() + "], 'position':[r" + TheUser.homepos.X.ToString() + ",r" + TheUser.homepos.Y.ToString() + ",r" + TheUser.homepos.Z.ToString() + "], 'look_at':[r" + TheUser.homelookat.X.ToString() + ",r" + TheUser.homelookat.Y.ToString() + ",r" + TheUser.homelookat.Z.ToString() + "]}"; 163 LoginGoodData["home"] = "{'region_handle':[r" + (997 * 256).ToString() + ",r" + (996 * 256).ToString() + "], 'position':[r" + TheUser.homepos.X.ToString() + ",r" + TheUser.homepos.Y.ToString() + ",r" + TheUser.homepos.Z.ToString() + "], 'look_at':[r" + TheUser.homelookat.X.ToString() + ",r" + TheUser.homelookat.Y.ToString() + ",r" + TheUser.homelookat.Z.ToString() + "]}";
164 LoginGoodData["message"] = DefaultStartupMsg; 164 LoginGoodData["message"] = DefaultStartupMsg;
165 LoginGoodData["first_name"] = "\"" + TheUser.firstname + "\""; 165 LoginGoodData["first_name"] = TheUser.firstname ;
166 LoginGoodData["circuit_code"] = (Int32)circode; 166 LoginGoodData["circuit_code"] = (Int32)circode;
167 LoginGoodData["sim_port"] = 9000; //(Int32)SimInfo.sim_port; 167 LoginGoodData["sim_port"] = 9000; //(Int32)SimInfo.sim_port;
168 LoginGoodData["secure_session_id"] = TheUser.CurrentSecureSessionID.ToStringHyphenated(); 168 LoginGoodData["secure_session_id"] = TheUser.CurrentSecureSessionID.ToStringHyphenated();