aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs')
-rw-r--r--OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs b/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs
index 2558fa0..d41ee28 100644
--- a/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs
+++ b/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs
@@ -95,7 +95,6 @@ namespace OpenSim.Server.Handlers.Presence
95 byte[] Report(Dictionary<string, string> request) 95 byte[] Report(Dictionary<string, string> request)
96 { 96 {
97 PresenceInfo info = new PresenceInfo(); 97 PresenceInfo info = new PresenceInfo();
98 info.Data = new Dictionary<string, string>();
99 98
100 if (request["PrincipalID"] == null || request["RegionID"] == null) 99 if (request["PrincipalID"] == null || request["RegionID"] == null)
101 return FailureResult(); 100 return FailureResult();
@@ -108,15 +107,6 @@ namespace OpenSim.Server.Handlers.Presence
108 out info.RegionID)) 107 out info.RegionID))
109 return FailureResult(); 108 return FailureResult();
110 109
111 foreach (KeyValuePair<string, string> kvp in request)
112 {
113 if (kvp.Key == "METHOD" ||
114 kvp.Key == "PrincipalID" ||
115 kvp.Key == "RegionID")
116 continue;
117
118 info.Data[kvp.Key] = kvp.Value;
119 }
120 110
121 if (m_PresenceService.Report(info)) 111 if (m_PresenceService.Report(info))
122 return SuccessResult(); 112 return SuccessResult();