diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 741c47e..221af44 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -966,7 +966,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
966 | /// <returns></returns> | 966 | /// <returns></returns> |
967 | public void Backup() | 967 | public void Backup() |
968 | { | 968 | { |
969 | lock(m_returns) | 969 | lock (m_returns) |
970 | { | 970 | { |
971 | EventManager.TriggerOnBackup(m_storageManager.DataStore); | 971 | EventManager.TriggerOnBackup(m_storageManager.DataStore); |
972 | m_backingup = false; | 972 | m_backingup = false; |
@@ -1003,7 +1003,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1003 | 1003 | ||
1004 | public void AddReturn(UUID agentID, string objectName, Vector3 location, string reason) | 1004 | public void AddReturn(UUID agentID, string objectName, Vector3 location, string reason) |
1005 | { | 1005 | { |
1006 | lock(m_returns) | 1006 | lock (m_returns) |
1007 | { | 1007 | { |
1008 | if (m_returns.ContainsKey(agentID)) | 1008 | if (m_returns.ContainsKey(agentID)) |
1009 | { | 1009 | { |
@@ -2428,7 +2428,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2428 | if (regionInfo == null) | 2428 | if (regionInfo == null) |
2429 | { | 2429 | { |
2430 | regionInfo = CommsManager.GridService.RequestNeighbourInfo(UserProfile.HomeRegion); | 2430 | regionInfo = CommsManager.GridService.RequestNeighbourInfo(UserProfile.HomeRegion); |
2431 | if(regionInfo != null) // home region can be away temporarily, too | 2431 | if (regionInfo != null) // home region can be away temporarily, too |
2432 | { | 2432 | { |
2433 | UserProfile.HomeRegionID = regionInfo.RegionID; | 2433 | UserProfile.HomeRegionID = regionInfo.RegionID; |
2434 | CommsManager.UserService.UpdateUserProfile(UserProfile); | 2434 | CommsManager.UserService.UpdateUserProfile(UserProfile); |