diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/UserManagerBase.cs | 6 | ||||
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 2 |
2 files changed, 3 insertions, 5 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 |
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 03db1a6..76ae1ba 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -359,7 +359,7 @@ namespace OpenSim.Framework | |||
359 | 359 | ||
360 | public bool shouldMasterAvatarDetailsBeAsked(string configuration_key) | 360 | public bool shouldMasterAvatarDetailsBeAsked(string configuration_key) |
361 | { | 361 | { |
362 | if (MasterAvatarAssignedUUID.Equals(null) || MasterAvatarAssignedUUID.ToString() == LLUUID.Zero.ToString()) | 362 | if (MasterAvatarAssignedUUID == LLUUID.Zero) |
363 | { | 363 | { |
364 | return true; | 364 | return true; |
365 | } | 365 | } |