diff options
Diffstat (limited to 'OpenSim/Framework/Communications/UserManagerBase.cs')
-rw-r--r-- | OpenSim/Framework/Communications/UserManagerBase.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index d3ebbb0..5ba37e6 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs | |||
@@ -439,17 +439,15 @@ namespace OpenSim.Framework.UserManagement | |||
439 | userAgent.agentOnline = false; | 439 | userAgent.agentOnline = false; |
440 | userAgent.logoutTime = Util.UnixTimeSinceEpoch(); | 440 | userAgent.logoutTime = Util.UnixTimeSinceEpoch(); |
441 | //userAgent.sessionID = LLUUID.Zero; | 441 | //userAgent.sessionID = LLUUID.Zero; |
442 | if (regionid != null) | 442 | if (regionid != LLUUID.Zero) |
443 | { | 443 | { |
444 | userAgent.currentRegion = regionid; | 444 | userAgent.currentRegion = regionid; |
445 | } | 445 | } |
446 | userAgent.currentHandle = regionhandle; | ||
447 | 446 | ||
447 | userAgent.currentHandle = regionhandle; | ||
448 | userAgent.currentPos = currentPos; | 448 | userAgent.currentPos = currentPos; |
449 | |||
450 | userProfile.currentAgent = userAgent; | 449 | userProfile.currentAgent = userAgent; |
451 | 450 | ||
452 | |||
453 | CommitAgent(ref userProfile); | 451 | CommitAgent(ref userProfile); |
454 | } | 452 | } |
455 | else | 453 | else |