diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/GridServer/GridXmlRpcModule.cs | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/OpenSim/Grid/GridServer/GridXmlRpcModule.cs b/OpenSim/Grid/GridServer/GridXmlRpcModule.cs index af83985..c2cd1d6 100644 --- a/OpenSim/Grid/GridServer/GridXmlRpcModule.cs +++ b/OpenSim/Grid/GridServer/GridXmlRpcModule.cs | |||
@@ -305,7 +305,26 @@ namespace OpenSim.Grid.GridServer | |||
305 | return e.XmlRpcErrorResponse; | 305 | return e.XmlRpcErrorResponse; |
306 | } | 306 | } |
307 | 307 | ||
308 | m_gridDBService.LoginRegion(sim, existingSim); | 308 | DataResponse insertResponse = m_gridDBService.LoginRegion(sim, existingSim); |
309 | |||
310 | switch (insertResponse) | ||
311 | { | ||
312 | case DataResponse.RESPONSE_OK: | ||
313 | m_log.Info("[LOGIN END]: " + (existingSim == null ? "New" : "Existing") + " sim login successful: " + sim.regionName); | ||
314 | break; | ||
315 | case DataResponse.RESPONSE_ERROR: | ||
316 | m_log.Warn("[LOGIN END]: Sim login failed (Error): " + sim.regionName); | ||
317 | break; | ||
318 | case DataResponse.RESPONSE_INVALIDCREDENTIALS: | ||
319 | m_log.Warn("[LOGIN END]: " + | ||
320 | "Sim login failed (Invalid Credentials): " + sim.regionName); | ||
321 | break; | ||
322 | case DataResponse.RESPONSE_AUTHREQUIRED: | ||
323 | m_log.Warn("[LOGIN END]: " + | ||
324 | "Sim login failed (Authentication Required): " + | ||
325 | sim.regionName); | ||
326 | break; | ||
327 | } | ||
309 | 328 | ||
310 | XmlRpcResponse response = CreateLoginResponse(sim); | 329 | XmlRpcResponse response = CreateLoginResponse(sim); |
311 | 330 | ||