diff options
Added a PostInitialise method to IApplicationPlugin, this allows us to do work in there knowing that all other ApplicationPlugins have been initialised by that time.
Moved the loadRegions code in LoadRegionsPlugin to the PostInitialise method.
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 065f1ed..7f6ca9a 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -131,6 +131,10 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
131 | } | 131 | } |
132 | } | 132 | } |
133 | 133 | ||
134 | public void PostInitialise() | ||
135 | { | ||
136 | } | ||
137 | |||
134 | public XmlRpcResponse XmlRpcRestartMethod(XmlRpcRequest request) | 138 | public XmlRpcResponse XmlRpcRestartMethod(XmlRpcRequest request) |
135 | { | 139 | { |
136 | XmlRpcResponse response = new XmlRpcResponse(); | 140 | XmlRpcResponse response = new XmlRpcResponse(); |