diff options
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 | ||