diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index 49b0071..10235ab 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -204,8 +204,6 @@ namespace OpenSim.Grid.UserServer | |||
204 | 204 | ||
205 | #region IUGAIMCore | 205 | #region IUGAIMCore |
206 | protected Dictionary<Type, object> m_moduleInterfaces = new Dictionary<Type, object>(); | 206 | protected Dictionary<Type, object> m_moduleInterfaces = new Dictionary<Type, object>(); |
207 | protected List<ShowHelpDelegate> m_showHelpDelegates = new List<ShowHelpDelegate>(); | ||
208 | |||
209 | 207 | ||
210 | /// <summary> | 208 | /// <summary> |
211 | /// Register an Module interface. | 209 | /// Register an Module interface. |
@@ -244,13 +242,7 @@ namespace OpenSim.Grid.UserServer | |||
244 | return m_httpServer; | 242 | return m_httpServer; |
245 | } | 243 | } |
246 | 244 | ||
247 | public void RegisterConsoleHelpDelegate(ShowHelpDelegate showHelp) | 245 | |
248 | { | ||
249 | lock (m_showHelpDelegates) | ||
250 | { | ||
251 | m_showHelpDelegates.Add(showHelp); | ||
252 | } | ||
253 | } | ||
254 | #endregion | 246 | #endregion |
255 | 247 | ||
256 | #region Console Command Handlers | 248 | #region Console Command Handlers |
@@ -258,14 +250,6 @@ namespace OpenSim.Grid.UserServer | |||
258 | protected override void ShowHelp(string[] helpArgs) | 250 | protected override void ShowHelp(string[] helpArgs) |
259 | { | 251 | { |
260 | base.ShowHelp(helpArgs); | 252 | base.ShowHelp(helpArgs); |
261 | |||
262 | lock (m_showHelpDelegates) | ||
263 | { | ||
264 | foreach (ShowHelpDelegate d in m_showHelpDelegates) | ||
265 | { | ||
266 | d(helpArgs); | ||
267 | } | ||
268 | } | ||
269 | } | 253 | } |
270 | #endregion | 254 | #endregion |
271 | 255 | ||