diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/GridService/GridService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index 02ed90e..aa19fc7 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -96,7 +96,7 @@ namespace OpenSim.Services.GridService | |||
96 | // has an identically named command | 96 | // has an identically named command |
97 | // | 97 | // |
98 | // XXX: We're relying on the OpenSimulator version being registered first, which is not well defined. | 98 | // XXX: We're relying on the OpenSimulator version being registered first, which is not well defined. |
99 | if (MainConsole.Instance.Commands.Resolve(new string[] { "show", "regions" }).Length == 0) | 99 | if (!MainConsole.Instance.Commands.HasCommand("show regions")) |
100 | MainConsole.Instance.Commands.AddCommand("Regions", true, | 100 | MainConsole.Instance.Commands.AddCommand("Regions", true, |
101 | "show regions", | 101 | "show regions", |
102 | "show regions", | 102 | "show regions", |