aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService/GridService.cs
diff options
context:
space:
mode:
authorJohn Hurliman2010-02-22 14:10:19 -0800
committerJohn Hurliman2010-02-22 14:10:19 -0800
commit71c6559a91a58d93588dcdd8c74b5fce0c1a3780 (patch)
treecca5b1ea88ad4b29156767afdd77e37ec072c8a7 /OpenSim/Services/GridService/GridService.cs
parent* Adds CreatorID to asset metadata. This is just the plumbing to support Crea... (diff)
parentMerge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/open... (diff)
downloadopensim-SC-71c6559a91a58d93588dcdd8c74b5fce0c1a3780.zip
opensim-SC-71c6559a91a58d93588dcdd8c74b5fce0c1a3780.tar.gz
opensim-SC-71c6559a91a58d93588dcdd8c74b5fce0c1a3780.tar.bz2
opensim-SC-71c6559a91a58d93588dcdd8c74b5fce0c1a3780.tar.xz
Merge branch 'presence-refactor' of ssh://opensimulator.org/var/git/opensim into presence-refactor
Diffstat (limited to 'OpenSim/Services/GridService/GridService.cs')
-rw-r--r--OpenSim/Services/GridService/GridService.cs30
1 files changed, 16 insertions, 14 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index 4dee7a4..1368e46 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -82,20 +82,22 @@ namespace OpenSim.Services.GridService
82 { 82 {
83 m_RootInstance = this; 83 m_RootInstance = this;
84 84
85 MainConsole.Instance.Commands.AddCommand("grid", true, 85 if (MainConsole.Instance != null)
86 "show region", 86 {
87 "show region <Region name>", 87 MainConsole.Instance.Commands.AddCommand("grid", true,
88 "Show details on a region", 88 "show region",
89 String.Empty, 89 "show region <Region name>",
90 HandleShowRegion); 90 "Show details on a region",
91 91 String.Empty,
92 MainConsole.Instance.Commands.AddCommand("grid", true, 92 HandleShowRegion);
93 "set region flags", 93
94 "set region flags <Region name> <flags>", 94 MainConsole.Instance.Commands.AddCommand("grid", true,
95 "Set database flags for region", 95 "set region flags",
96 String.Empty, 96 "set region flags <Region name> <flags>",
97 HandleSetFlags); 97 "Set database flags for region",
98 98 String.Empty,
99 HandleSetFlags);
100 }
99 m_HypergridLinker = new HypergridLinker(m_config, this, m_Database); 101 m_HypergridLinker = new HypergridLinker(m_config, this, m_Database);
100 } 102 }
101 } 103 }