aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs
diff options
context:
space:
mode:
authorMelanie2009-12-27 01:27:51 +0000
committerMelanie2009-12-27 01:27:51 +0000
commit982e3ff5d927df498c1d14111e2c61f0251c09d4 (patch)
tree5488a47eedaadf5fd4800e2ac64f4aed2cd33a48 /OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs
parentAdd AvatarInterestsReply (diff)
downloadopensim-SC_OLD-982e3ff5d927df498c1d14111e2c61f0251c09d4.zip
opensim-SC_OLD-982e3ff5d927df498c1d14111e2c61f0251c09d4.tar.gz
opensim-SC_OLD-982e3ff5d927df498c1d14111e2c61f0251c09d4.tar.bz2
opensim-SC_OLD-982e3ff5d927df498c1d14111e2c61f0251c09d4.tar.xz
Presence Step 1
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();