aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs')
-rw-r--r--OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs b/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs
index b1e7eac..f8fa429 100644
--- a/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs
+++ b/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs
@@ -156,7 +156,6 @@ namespace OpenSim.Server.Handlers.GridUser
156 byte[] SetPosition(Dictionary<string, object> request) 156 byte[] SetPosition(Dictionary<string, object> request)
157 { 157 {
158 string user = string.Empty; 158 string user = string.Empty;
159 UUID sessionID = UUID.Zero;
160 UUID region = UUID.Zero; 159 UUID region = UUID.Zero;
161 Vector3 position = new Vector3(128, 128, 70); 160 Vector3 position = new Vector3(128, 128, 70);
162 Vector3 look = Vector3.Zero; 161 Vector3 look = Vector3.Zero;
@@ -167,7 +166,7 @@ namespace OpenSim.Server.Handlers.GridUser
167 if (!UnpackArgs(request, out user, out region, out position, out look)) 166 if (!UnpackArgs(request, out user, out region, out position, out look))
168 return FailureResult(); 167 return FailureResult();
169 168
170 if (m_GridUserService.SetLastPosition(user, sessionID, region, position, look)) 169 if (m_GridUserService.SetLastPosition(user, region, position, look))
171 return SuccessResult(); 170 return SuccessResult();
172 171
173 return FailureResult(); 172 return FailureResult();