aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IUserAccountService.cs
diff options
context:
space:
mode:
authorDiva Canto2010-01-13 09:17:30 -0800
committerDiva Canto2010-01-13 09:17:30 -0800
commit7356860b487febd12c2e0de2f009a6df9ea0aeec (patch)
tree801eaa0c90483cca8a07f2b4f9f30bf16be84f62 /OpenSim/Services/Interfaces/IUserAccountService.cs
parentMore appearance woes fixed, this time for child agents. Tested on a grid with... (diff)
downloadopensim-SC-7356860b487febd12c2e0de2f009a6df9ea0aeec.zip
opensim-SC-7356860b487febd12c2e0de2f009a6df9ea0aeec.tar.gz
opensim-SC-7356860b487febd12c2e0de2f009a6df9ea0aeec.tar.bz2
opensim-SC-7356860b487febd12c2e0de2f009a6df9ea0aeec.tar.xz
Several more buglets removed.
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Interfaces/IUserAccountService.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/Interfaces/IUserAccountService.cs b/OpenSim/Services/Interfaces/IUserAccountService.cs
index 942174c..3dacf53 100644
--- a/OpenSim/Services/Interfaces/IUserAccountService.cs
+++ b/OpenSim/Services/Interfaces/IUserAccountService.cs
@@ -98,11 +98,11 @@ namespace OpenSim.Services.Interfaces
98 string str = kvp["ServiceURLs"].ToString(); 98 string str = kvp["ServiceURLs"].ToString();
99 if (str != string.Empty) 99 if (str != string.Empty)
100 { 100 {
101 string[] parts = str.Split(new char[] { '#' }); 101 string[] parts = str.Split(new char[] { ';' });
102 Dictionary<string, object> dic = new Dictionary<string, object>(); 102 Dictionary<string, object> dic = new Dictionary<string, object>();
103 foreach (string s in parts) 103 foreach (string s in parts)
104 { 104 {
105 string[] parts2 = s.Split(new char[] { '=' }); 105 string[] parts2 = s.Split(new char[] { '*' });
106 if (parts2.Length == 2) 106 if (parts2.Length == 2)
107 ServiceURLs[parts2[0]] = parts2[1]; 107 ServiceURLs[parts2[0]] = parts2[1];
108 } 108 }
@@ -119,14 +119,14 @@ namespace OpenSim.Services.Interfaces
119 result["PrincipalID"] = PrincipalID.ToString(); 119 result["PrincipalID"] = PrincipalID.ToString();
120 result["ScopeID"] = ScopeID.ToString(); 120 result["ScopeID"] = ScopeID.ToString();
121 result["Created"] = Created.ToString(); 121 result["Created"] = Created.ToString();
122 result["UserLavel"] = UserLevel.ToString(); 122 result["UserLevel"] = UserLevel.ToString();
123 result["UserFlags"] = UserFlags.ToString(); 123 result["UserFlags"] = UserFlags.ToString();
124 result["UserTitle"] = UserTitle; 124 result["UserTitle"] = UserTitle;
125 125
126 string str = string.Empty; 126 string str = string.Empty;
127 foreach (KeyValuePair<string, object> kvp in ServiceURLs) 127 foreach (KeyValuePair<string, object> kvp in ServiceURLs)
128 { 128 {
129 str += kvp.Key + "=" + kvp.Value + "#"; 129 str += kvp.Key + "*" + (kvp.Value == null ? "" : kvp.Value) + ";";
130 } 130 }
131 result["ServiceURLs"] = str; 131 result["ServiceURLs"] = str;
132 132