aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorMW2007-09-04 18:28:35 +0000
committerMW2007-09-04 18:28:35 +0000
commite58a5c7a9555b0415cd1596a111b9596a883df9e (patch)
tree9e8574ba2fbb74b5556d241375a4c7f86487894b /OpenSim/Region/Application
parentPart 2 of Darok's BulletX patches. (diff)
downloadopensim-SC-e58a5c7a9555b0415cd1596a111b9596a883df9e.zip
opensim-SC-e58a5c7a9555b0415cd1596a111b9596a883df9e.tar.gz
opensim-SC-e58a5c7a9555b0415cd1596a111b9596a883df9e.tar.bz2
opensim-SC-e58a5c7a9555b0415cd1596a111b9596a883df9e.tar.xz
Fixed it so "shutdown" command works when a region is set as the active console region.
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 5dfb30b..1170f80 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -371,7 +371,7 @@ namespace OpenSim
371 /// <param name="cmdparams">Additional arguments passed to the command</param> 371 /// <param name="cmdparams">Additional arguments passed to the command</param>
372 public void RunCmd(string command, string[] cmdparams) 372 public void RunCmd(string command, string[] cmdparams)
373 { 373 {
374 if ((m_consoleRegion == null) ||(command == "change-region")) 374 if ((m_consoleRegion == null) || (command == "change-region") || (command == "shutdown"))
375 { 375 {
376 switch (command) 376 switch (command)
377 { 377 {