diff options
author | Dr Scofield | 2008-07-08 11:13:26 +0000 |
---|---|---|
committer | Dr Scofield | 2008-07-08 11:13:26 +0000 |
commit | c1d5291ae098251e437a8ec038476b3831b08456 (patch) | |
tree | 91e6a1df523632c3ea6a0a994bdc75323e3ca20a | |
parent | * Ignored some bins (diff) | |
download | opensim-SC_OLD-c1d5291ae098251e437a8ec038476b3831b08456.zip opensim-SC_OLD-c1d5291ae098251e437a8ec038476b3831b08456.tar.gz opensim-SC_OLD-c1d5291ae098251e437a8ec038476b3831b08456.tar.bz2 opensim-SC_OLD-c1d5291ae098251e437a8ec038476b3831b08456.tar.xz |
RegionInfo.configMember can be null for dynamically created regions
that are not backed by a file.
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index d77c82d..e899947 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -565,10 +565,13 @@ namespace OpenSim.Framework | |||
565 | 565 | ||
566 | public void SaveEstatecovenantUUID(LLUUID notecard) | 566 | public void SaveEstatecovenantUUID(LLUUID notecard) |
567 | { | 567 | { |
568 | if (null == configMember) return; | ||
568 | configMember.forceSetConfigurationOption("estate_covanant_uuid", notecard.ToString()); | 569 | configMember.forceSetConfigurationOption("estate_covanant_uuid", notecard.ToString()); |
569 | } | 570 | } |
570 | public void SaveLastMapUUID(LLUUID mapUUID) | 571 | public void SaveLastMapUUID(LLUUID mapUUID) |
571 | { | 572 | { |
573 | if (null == configMember) return; | ||
574 | |||
572 | lastMapUUID = mapUUID; | 575 | lastMapUUID = mapUUID; |
573 | lastMapRefresh = Util.UnixTimeSinceEpoch().ToString(); | 576 | lastMapRefresh = Util.UnixTimeSinceEpoch().ToString(); |
574 | 577 | ||