diff options
author | Melanie Thielker | 2010-05-04 21:16:20 +0200 |
---|---|---|
committer | Melanie | 2010-05-04 18:55:24 +0100 |
commit | 5a4cef6b362ebea22e240e1e0b48c14ac2d817d5 (patch) | |
tree | 99ea7be581c3a7e73378e3b58541340e572df272 /OpenSim/Region | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC-5a4cef6b362ebea22e240e1e0b48c14ac2d817d5.zip opensim-SC-5a4cef6b362ebea22e240e1e0b48c14ac2d817d5.tar.gz opensim-SC-5a4cef6b362ebea22e240e1e0b48c14ac2d817d5.tar.bz2 opensim-SC-5a4cef6b362ebea22e240e1e0b48c14ac2d817d5.tar.xz |
make the events more useful by providing the source region
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IEstateModule.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs index 92e9eed..dcc66ca 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | |||
@@ -1167,7 +1167,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
1167 | ChangeDelegate change = OnRegionInfoChange; | 1167 | ChangeDelegate change = OnRegionInfoChange; |
1168 | 1168 | ||
1169 | if (change != null) | 1169 | if (change != null) |
1170 | change(); | 1170 | change(m_scene.RegionInfo.RegionID); |
1171 | } | 1171 | } |
1172 | 1172 | ||
1173 | protected void TriggerEstateInfoChange() | 1173 | protected void TriggerEstateInfoChange() |
@@ -1175,7 +1175,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
1175 | ChangeDelegate change = OnEstateInfoChange; | 1175 | ChangeDelegate change = OnEstateInfoChange; |
1176 | 1176 | ||
1177 | if (change != null) | 1177 | if (change != null) |
1178 | change(); | 1178 | change(m_scene.RegionInfo.RegionID); |
1179 | } | 1179 | } |
1180 | } | 1180 | } |
1181 | } | 1181 | } |
diff --git a/OpenSim/Region/Framework/Interfaces/IEstateModule.cs b/OpenSim/Region/Framework/Interfaces/IEstateModule.cs index b2135d2..329c3f5 100644 --- a/OpenSim/Region/Framework/Interfaces/IEstateModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IEstateModule.cs | |||
@@ -29,7 +29,7 @@ using OpenMetaverse; | |||
29 | 29 | ||
30 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
31 | { | 31 | { |
32 | public delegate void ChangeDelegate(); | 32 | public delegate void ChangeDelegate(UUID regionID); |
33 | 33 | ||
34 | public interface IEstateModule : IRegionModule | 34 | public interface IEstateModule : IRegionModule |
35 | { | 35 | { |