diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneBase.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneBase.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs index e58d3ce..cee9037 100644 --- a/OpenSim/Region/Framework/Scenes/SceneBase.cs +++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs | |||
@@ -32,6 +32,7 @@ using System.Threading; | |||
32 | using OpenMetaverse; | 32 | using OpenMetaverse; |
33 | using log4net; | 33 | using log4net; |
34 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
35 | using OpenSim.Framework.Console; | ||
35 | using OpenSim.Framework.Communications.Cache; | 36 | using OpenSim.Framework.Communications.Cache; |
36 | using OpenSim.Region.Framework.Interfaces; | 37 | using OpenSim.Region.Framework.Interfaces; |
37 | 38 | ||
@@ -458,5 +459,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
458 | break; | 459 | break; |
459 | } | 460 | } |
460 | } | 461 | } |
462 | |||
463 | public void AddCommand(string module, string command, string shorthelp, string longhelp, CommandDelegate callback) | ||
464 | { | ||
465 | if (MainConsole.Instance == null) | ||
466 | return; | ||
467 | MainConsole.Instance.Commands.AddCommand(module, command, shorthelp, longhelp, callback); | ||
468 | } | ||
461 | } | 469 | } |
462 | } | 470 | } |