diff options
author | diva | 2009-04-27 17:19:29 +0000 |
---|---|---|
committer | diva | 2009-04-27 17:19:29 +0000 |
commit | 4ec9979475bc822960d2b99acc2deba3a3ea222c (patch) | |
tree | a685356253aa45260f3f0b04ff95c7f9e4b9e571 /OpenSim | |
parent | Thanks Tommil for a patch that adds a caching option to GetAssetStreamHandler... (diff) | |
download | opensim-SC_OLD-4ec9979475bc822960d2b99acc2deba3a3ea222c.zip opensim-SC_OLD-4ec9979475bc822960d2b99acc2deba3a3ea222c.tar.gz opensim-SC_OLD-4ec9979475bc822960d2b99acc2deba3a3ea222c.tar.bz2 opensim-SC_OLD-4ec9979475bc822960d2b99acc2deba3a3ea222c.tar.xz |
Another attempt at mantis #3527.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 27b20ef..cf99907 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -101,6 +101,15 @@ namespace OpenSim.Region.Communications.OGS1 | |||
101 | // see IGridServices | 101 | // see IGridServices |
102 | public RegionCommsListener RegisterRegion(RegionInfo regionInfo) | 102 | public RegionCommsListener RegisterRegion(RegionInfo regionInfo) |
103 | { | 103 | { |
104 | if (m_regionsOnInstance.Contains(regionInfo)) | ||
105 | { | ||
106 | m_log.Debug("[OGS1 GRID SERVICES] Foobar! Client is confused, region already registered " + regionInfo.RegionName); | ||
107 | Exception e = new Exception(String.Format("Unable to register region")); | ||
108 | |||
109 | throw e; | ||
110 | |||
111 | } | ||
112 | |||
104 | m_regionsOnInstance.Add(regionInfo); | 113 | m_regionsOnInstance.Add(regionInfo); |
105 | 114 | ||
106 | m_log.InfoFormat( | 115 | m_log.InfoFormat( |
@@ -178,7 +187,8 @@ namespace OpenSim.Region.Communications.OGS1 | |||
178 | if ((string) GridRespData["allow_forceful_banlines"] != "TRUE") | 187 | if ((string) GridRespData["allow_forceful_banlines"] != "TRUE") |
179 | { | 188 | { |
180 | //m_localBackend.SetForcefulBanlistsDisallowed(regionInfo.RegionHandle); | 189 | //m_localBackend.SetForcefulBanlistsDisallowed(regionInfo.RegionHandle); |
181 | m_queuedGridSettings.Add("allow_forceful_banlines", "FALSE"); | 190 | if (!m_queuedGridSettings.ContainsKey("allow_forceful_banlines")) |
191 | m_queuedGridSettings.Add("allow_forceful_banlines", "FALSE"); | ||
182 | } | 192 | } |
183 | } | 193 | } |
184 | 194 | ||