diff options
* Optimized usings (the 'LL ate my scripts' commit)
* added some licensing info
Diffstat (limited to 'OpenSim/Framework/UserManager/LoginResponse.cs')
-rw-r--r-- | OpenSim/Framework/UserManager/LoginResponse.cs | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/OpenSim/Framework/UserManager/LoginResponse.cs b/OpenSim/Framework/UserManager/LoginResponse.cs index d1cd8cf..64504fa 100644 --- a/OpenSim/Framework/UserManager/LoginResponse.cs +++ b/OpenSim/Framework/UserManager/LoginResponse.cs | |||
@@ -1,13 +1,8 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Text; | ||
3 | using System.Text.RegularExpressions; | ||
4 | using System.Threading; | ||
5 | using System.Collections; | 2 | using System.Collections; |
6 | using System.Xml; | ||
7 | using libsecondlife; | 3 | using libsecondlife; |
8 | using OpenSim.Framework.Utilities; | ||
9 | using OpenSim.Framework.Interfaces; | ||
10 | using Nwc.XmlRpc; | 4 | using Nwc.XmlRpc; |
5 | using OpenSim.Framework.Console; | ||
11 | 6 | ||
12 | namespace OpenSim.Framework.UserManagement | 7 | namespace OpenSim.Framework.UserManagement |
13 | { | 8 | { |
@@ -227,7 +222,7 @@ namespace OpenSim.Framework.UserManagement | |||
227 | 222 | ||
228 | responseData["sim_port"] =(Int32) this.SimPort; | 223 | responseData["sim_port"] =(Int32) this.SimPort; |
229 | responseData["sim_ip"] = this.SimAddress; | 224 | responseData["sim_ip"] = this.SimAddress; |
230 | Console.MainLog.Instance.Warn("SIM IP: " + responseData["sim_ip"] + "; SIM PORT: " + responseData["sim_port"]); | 225 | MainLog.Instance.Warn("SIM IP: " + responseData["sim_ip"] + "; SIM PORT: " + responseData["sim_port"]); |
231 | responseData["agent_id"] = this.AgentID.ToStringHyphenated(); | 226 | responseData["agent_id"] = this.AgentID.ToStringHyphenated(); |
232 | responseData["session_id"] = this.SessionID.ToStringHyphenated(); | 227 | responseData["session_id"] = this.SessionID.ToStringHyphenated(); |
233 | responseData["secure_session_id"] = this.SecureSessionID.ToStringHyphenated(); | 228 | responseData["secure_session_id"] = this.SecureSessionID.ToStringHyphenated(); |
@@ -266,8 +261,8 @@ namespace OpenSim.Framework.UserManagement | |||
266 | } | 261 | } |
267 | catch (Exception e) | 262 | catch (Exception e) |
268 | { | 263 | { |
269 | OpenSim.Framework.Console.MainLog.Instance.WriteLine( | 264 | MainLog.Instance.WriteLine( |
270 | OpenSim.Framework.Console.LogPriority.LOW, | 265 | LogPriority.LOW, |
271 | "LoginResponse: Error creating XML-RPC Response: " + e.Message | 266 | "LoginResponse: Error creating XML-RPC Response: " + e.Message |
272 | ); | 267 | ); |
273 | return (this.GenerateFailureResponse("Internal Error", "Error generating Login Response", "false")); | 268 | return (this.GenerateFailureResponse("Internal Error", "Error generating Login Response", "false")); |