diff options
author | Diva Canto | 2010-01-13 09:17:30 -0800 |
---|---|---|
committer | Diva Canto | 2010-01-13 09:17:30 -0800 |
commit | 7356860b487febd12c2e0de2f009a6df9ea0aeec (patch) | |
tree | 801eaa0c90483cca8a07f2b4f9f30bf16be84f62 /OpenSim/Services/Interfaces | |
parent | More appearance woes fixed, this time for child agents. Tested on a grid with... (diff) | |
download | opensim-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 'OpenSim/Services/Interfaces')
-rw-r--r-- | OpenSim/Services/Interfaces/IUserAccountService.cs | 8 |
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 | ||