diff options
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalBackEndServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalBackEndServices.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs index f57de1c..f6137f7 100644 --- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs +++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs | |||
@@ -43,6 +43,8 @@ namespace OpenSim.Region.Communications.Local | |||
43 | 43 | ||
44 | private Dictionary<ulong, RegionInfo> m_remoteRegionInfoCache = new Dictionary<ulong, RegionInfo>(); | 44 | private Dictionary<ulong, RegionInfo> m_remoteRegionInfoCache = new Dictionary<ulong, RegionInfo>(); |
45 | 45 | ||
46 | private Dictionary<string, string> m_queuedGridSettings = new Dictionary<string, string>(); | ||
47 | |||
46 | public string _gdebugRegionName = ""; | 48 | public string _gdebugRegionName = ""; |
47 | 49 | ||
48 | public string gdebugRegionName | 50 | public string gdebugRegionName |
@@ -218,6 +220,26 @@ namespace OpenSim.Region.Communications.Local | |||
218 | return false; | 220 | return false; |
219 | } | 221 | } |
220 | 222 | ||
223 | // This function Is only here to keep this class in line with the Grid Interface. | ||
224 | // It never gets called. | ||
225 | public virtual Dictionary<string, string> GetGridSettings() | ||
226 | { | ||
227 | Dictionary<string,string> returnGridSettings = new Dictionary<string,string>(); | ||
228 | lock (m_queuedGridSettings) | ||
229 | { | ||
230 | returnGridSettings = m_queuedGridSettings; | ||
231 | m_queuedGridSettings.Clear(); | ||
232 | } | ||
233 | |||
234 | return returnGridSettings; | ||
235 | } | ||
236 | |||
237 | public virtual void SetForcefulBanlistsDisallowed(ulong regionHandle) | ||
238 | { | ||
239 | m_queuedGridSettings.Add("allow_forceful_banlines", "FALSE"); | ||
240 | |||
241 | } | ||
242 | |||
221 | public bool TriggerRegionUp(RegionInfo region, ulong regionhandle) | 243 | public bool TriggerRegionUp(RegionInfo region, ulong regionhandle) |
222 | { | 244 | { |
223 | if (m_regionListeners.ContainsKey(regionhandle)) | 245 | if (m_regionListeners.ContainsKey(regionhandle)) |