aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid
diff options
context:
space:
mode:
authorDiva Canto2010-01-10 16:20:59 -0800
committerDiva Canto2010-01-10 16:20:59 -0800
commit53e83e5dbb3590cb9c858aa301665357d1511b30 (patch)
tree732c828f49c3c54dc49bcd6eec86153ab76bc8ae /OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid
parentSome typos fixed related to master avie removal (diff)
downloadopensim-SC_OLD-53e83e5dbb3590cb9c858aa301665357d1511b30.zip
opensim-SC_OLD-53e83e5dbb3590cb9c858aa301665357d1511b30.tar.gz
opensim-SC_OLD-53e83e5dbb3590cb9c858aa301665357d1511b30.tar.bz2
opensim-SC_OLD-53e83e5dbb3590cb9c858aa301665357d1511b30.tar.xz
* Starting to clean the house...
* Fixed circular dependency
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs41
1 files changed, 21 insertions, 20 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs
index 3c1f7b6..f3ccbda 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs
@@ -763,26 +763,27 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
763 return (userData.UserServerURI == LocalUserServerURI); 763 return (userData.UserServerURI == LocalUserServerURI);
764 } 764 }
765 765
766 // Is the user going back to the home region or the home grid? 766 // REFACTORING PROBLEM
767 protected bool IsGoingHome(CachedUserInfo uinfo, GridRegion rinfo) 767 //// Is the user going back to the home region or the home grid?
768 { 768 //protected bool IsGoingHome(CachedUserInfo uinfo, GridRegion rinfo)
769 if (uinfo == null) 769 //{
770 return false; 770 // if (uinfo == null)
771 771 // return false;
772 if (uinfo.UserProfile == null) 772
773 return false; 773 // if (uinfo.UserProfile == null)
774 774 // return false;
775 if (!(uinfo.UserProfile is ForeignUserProfileData)) 775
776 // it's a home user, can't be outside to return home 776 // if (!(uinfo.UserProfile is ForeignUserProfileData))
777 return false; 777 // // it's a home user, can't be outside to return home
778 778 // return false;
779 // OK, it's a foreign user with a ForeignUserProfileData 779
780 // and is going back to exactly the home region. 780 // // OK, it's a foreign user with a ForeignUserProfileData
781 // We can't check if it's going back to a non-home region 781 // // and is going back to exactly the home region.
782 // of the home grid. That will be dealt with in the 782 // // We can't check if it's going back to a non-home region
783 // receiving end 783 // // of the home grid. That will be dealt with in the
784 return (uinfo.UserProfile.HomeRegionID == rinfo.RegionID); 784 // // receiving end
785 } 785 // return (uinfo.UserProfile.HomeRegionID == rinfo.RegionID);
786 //}
786 787
787 protected bool IsLocalUser(UserAccount account) 788 protected bool IsLocalUser(UserAccount account)
788 { 789 {